pub struct Enum {
pub bits: u32,
pub values: Vec<(String, i64)>,
}
Expand description
Represents the physical properties of an enum type.
Fields§
§bits: u32
The number of bits representing each value.
values: Vec<(String, i64)>
An array holding a type of (name, value) for each enum value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Enum
impl RefUnwindSafe for Enum
impl Send for Enum
impl Sync for Enum
impl Unpin for Enum
impl UnwindSafe for Enum
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