pub struct EnumObj { /* private fields */ }Expand description
The object behind every enum value: its name and the index the registry
assigned it. An enum type’s object embeds it as its parent,
base_: EnumObj.
Trait Implementations§
impl ImmutableObject for EnumObj
Source§impl ObjectCore for EnumObj
impl ObjectCore for EnumObj
Source§const TYPE_DEPTH: i32
const TYPE_DEPTH: i32
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
Auto Trait Implementations§
impl !Freeze for EnumObj
impl RefUnwindSafe for EnumObj
impl Send for EnumObj
impl Sync for EnumObj
impl Unpin for EnumObj
impl UnsafeUnpin for EnumObj
impl UnwindSafe for EnumObj
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