pub trait QueryAttrs {
    fn has_attr(&self, db: &dyn SyntaxGroup, attr: &str) -> bool;
    fn last_attr(&self, db: &dyn SyntaxGroup, attr: &str) -> bool;
}
Expand description

Trait for querying attributes of AST items.

Required Methods§

Implementors§