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§
Source§impl ObjectCore for EnumObj
impl ObjectCore for EnumObj
impl ImmutableObject for EnumObj
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