pub struct FlagsDecl<'a> {
pub docs: Vec<DocComment<'a>>,
pub id: Ident<'a>,
pub flags: Vec<Flag<'a>>,
}
Expand description
Represents a flags declaration in the AST.
Fields§
§docs: Vec<DocComment<'a>>
The doc comments for the flags.
id: Ident<'a>
The identifier of the flags.
flags: Vec<Flag<'a>>
The flag values.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FlagsDecl<'a>
impl<'a> RefUnwindSafe for FlagsDecl<'a>
impl<'a> Send for FlagsDecl<'a>
impl<'a> Sync for FlagsDecl<'a>
impl<'a> Unpin for FlagsDecl<'a>
impl<'a> UnwindSafe for FlagsDecl<'a>
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