pub struct EnumType {
pub name: String,
pub bit_bound: Option<u32>,
pub enumerators: Vec<EnumLiteral>,
}Expand description
<enum>-Definition (Spec §7.3.3.4.5).
Fields§
§name: StringEnum-Name.
bit_bound: Option<u32>Optionales bitBound-Attribut (default 32).
enumerators: Vec<EnumLiteral>Enumerator-Eintraege.
Trait Implementations§
impl Eq for EnumType
impl StructuralPartialEq for EnumType
Auto Trait Implementations§
impl Freeze for EnumType
impl RefUnwindSafe for EnumType
impl Send for EnumType
impl Sync for EnumType
impl Unpin for EnumType
impl UnsafeUnpin for EnumType
impl UnwindSafe for EnumType
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