pub struct MavEnum {
pub name: String,
pub description: Option<String>,
pub entries: Vec<MavEnumEntry>,
pub primitive: Option<String>,
pub bitmask: bool,
pub deprecated: Option<MavDeprecation>,
}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§deprecated: Option<MavDeprecation>Trait Implementations§
Source§impl<'de> Deserialize<'de> for MavEnum
impl<'de> Deserialize<'de> for MavEnum
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 UnsafeUnpin 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