Trait query_structure::ast::WithAttributes
source · pub trait WithAttributes {
// Required method
fn attributes(&self) -> &[Attribute];
}
Expand description
An AST node with attributes.
Required Methods§
sourcefn attributes(&self) -> &[Attribute]
fn attributes(&self) -> &[Attribute]
The attributes.