Struct pr47::syntax::attr::Attribute[][src]

pub struct Attribute<'a> {
    pub items: SmallVec<[AttrItem<'a>; 4]>,
    pub hash_loc: SourceLoc,
    pub exclaim_loc: SourceLoc,
    pub left_bracket_loc: SourceLoc,
    pub right_bracket_loc: SourceLoc,
}

Fields

items: SmallVec<[AttrItem<'a>; 4]>hash_loc: SourceLocexclaim_loc: SourceLocleft_bracket_loc: SourceLocright_bracket_loc: SourceLoc

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.