pub struct Enum {
pub name: String,
pub comment: Option<String>,
pub bit_size: u8,
pub values: Vec<String>,
pub default: String,
}
Expand description
Enum information for bitis. The ids are always DynInteger with a given bit size.
Fields§
§name: String
§comment: Option<String>
§bit_size: u8
§values: Vec<String>
§default: String
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