pub struct MavEnum {
pub name: String,
pub description: Option<String>,
pub entries: Vec<MavEnumEntry>,
pub primitive: Option<String>,
pub bitmask: bool,
}
Fields§
§name: String
§description: Option<String>
§entries: Vec<MavEnumEntry>
§primitive: Option<String>
If contains Some, the string represents the primitive type (size) for bitflags. If no fields use this enum, the bitmask is true, but primitive is None. In this case regular enum is generated as primitive is unknown.
bitmask: bool
Trait Implementations§
impl Eq for MavEnum
impl StructuralPartialEq for MavEnum
Auto Trait Implementations§
impl Freeze for MavEnum
impl RefUnwindSafe for MavEnum
impl Send for MavEnum
impl Sync for MavEnum
impl Unpin for MavEnum
impl UnwindSafe for MavEnum
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