Struct sway_ast::attribute::AttributeDecl
source · pub struct AttributeDecl {
pub hash_kind: AttributeHashKind,
pub attribute: SquareBrackets<Punctuated<Attribute, CommaToken>>,
}
Fields§
§hash_kind: AttributeHashKind
§attribute: SquareBrackets<Punctuated<Attribute, CommaToken>>
Trait Implementations§
source§impl Clone for AttributeDecl
impl Clone for AttributeDecl
source§fn clone(&self) -> AttributeDecl
fn clone(&self) -> AttributeDecl
Returns a copy 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 moresource§impl Debug for AttributeDecl
impl Debug for AttributeDecl
source§impl Serialize for AttributeDecl
impl Serialize for AttributeDecl
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§
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