pub struct CfgDecl {
pub id: NodeId,
pub span: Span,
pub name: Spanned<Name>,
pub target: CompoundName,
pub decls: Vec<DeclItem>,
}
Expand description
A configuration declaration.
Fields§
§id: NodeId
§span: Span
§name: Spanned<Name>
§target: CompoundName
§decls: Vec<DeclItem>
Trait Implementations§
impl Eq for CfgDecl
impl StructuralPartialEq for CfgDecl
Auto Trait Implementations§
impl Freeze for CfgDecl
impl RefUnwindSafe for CfgDecl
impl Send for CfgDecl
impl Sync for CfgDecl
impl Unpin for CfgDecl
impl UnwindSafe for CfgDecl
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