pub struct Object { /* private fields */ }Expand description
The root object type, ffi.Object: just the object header.
An object type defined in Rust starts with its parent’s object, which for
a direct subtype is base_: Object.
Implementations§
Trait Implementations§
Source§impl ObjectCore for Object
impl ObjectCore for Object
Source§const TYPE_DEPTH: i32 = 0
const TYPE_DEPTH: i32 = 0
Depth of this type in the object inheritance tree. Read more
Source§fn type_index() -> i32
fn type_index() -> i32
The runtime type index of this type.
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
The object header, mutably. Read more
Source§impl ShallowCopy for Object
impl ShallowCopy for Object
Source§fn shallow_copy(&self) -> Self
fn shallow_copy(&self) -> Self
The copy, under a fresh object header.
impl UnsafeInit for Object
Auto Trait Implementations§
impl !Freeze for Object
impl Forget for Object
impl Move for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more