How to implement rust-cpython as_object() and into_object()?

前端 未结 0 634
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-30 23:37

I am trying to implement the trait PythonObject for a custom type.

impl PythonObject for PyTerm {
    #[inline]
    fn as_object(&self) ->         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题