Struct sway_ast::attribute::AttributeDecl
source · pub struct AttributeDecl {
pub hash_token: HashToken,
pub attribute: SquareBrackets<Punctuated<Attribute, CommaToken>>,
}Fields§
§hash_token: HashToken§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 more