pub struct FlagsDef {
pub name: SmolStr,
pub span: Span,
pub bits: Vec<FlagsBitDef>,
pub tombstones: Vec<TombstoneDef>,
pub annotations: ResolvedAnnotations,
pub wire_bytes: u8,
}Fields§
§name: SmolStr§span: Span§bits: Vec<FlagsBitDef>§tombstones: Vec<TombstoneDef>§annotations: ResolvedAnnotations§wire_bytes: u8Computed by typeck: number of bytes used on the wire (1, 2, 4, or 8).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlagsDef
impl RefUnwindSafe for FlagsDef
impl Send for FlagsDef
impl Sync for FlagsDef
impl Unpin for FlagsDef
impl UnsafeUnpin for FlagsDef
impl UnwindSafe for FlagsDef
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