Trait tvm::runtime::object::IsObject[][src]

pub unsafe trait IsObject: AsRef<Object> + Debug {
    const TYPE_KEY: &'static str;
}
Expand description

An unsafe trait which should be implemented for an object subtype.

The trait contains the type key needed to compute the type index, a method for accessing the base object given the subtype, and a typed delete method which is specialized to the subtype.

Associated Constants

Implementors