Struct sway_parse::attribute::AttributeDecl
source · [−]pub struct AttributeDecl {
pub hash_token: HashToken,
pub attribute: SquareBrackets<Attribute>,
}Fields
hash_token: HashTokenattribute: SquareBrackets<Attribute>Implementations
sourceimpl AttributeDecl
impl AttributeDecl
Trait Implementations
sourceimpl Parse for AttributeDecl
impl Parse for AttributeDecl
fn parse(parser: &mut Parser<'_, '_>) -> ParseResult<Self>
Auto Trait Implementations
impl RefUnwindSafe for AttributeDecl
impl Send for AttributeDecl
impl Sync for AttributeDecl
impl Unpin for AttributeDecl
impl UnwindSafe for AttributeDecl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more