pub struct FlagsBitDef {
pub name: SmolStr,
pub span: Span,
pub bit: u32,
pub annotations: ResolvedAnnotations,
}Expand description
A single bit definition within a flags type.
Fields§
§name: SmolStr§span: Span§bit: u32§annotations: ResolvedAnnotationsTrait Implementations§
Source§impl Clone for FlagsBitDef
impl Clone for FlagsBitDef
Source§fn clone(&self) -> FlagsBitDef
fn clone(&self) -> FlagsBitDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FlagsBitDef
impl RefUnwindSafe for FlagsBitDef
impl Send for FlagsBitDef
impl Sync for FlagsBitDef
impl Unpin for FlagsBitDef
impl UnsafeUnpin for FlagsBitDef
impl UnwindSafe for FlagsBitDef
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