Struct tvm_rt::object::ObjectPtr [−][src]
Expand description
A smart pointer for types which implement IsObject.
This type directly corresponds to TVM’s C++ type ObjectPtr
See object.h for more details.
Fields
ptr: NonNull<T>
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for ObjectPtr<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for ObjectPtr<T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more