Trait syntax::ast::HasAttrs[][src]

pub trait HasAttrs: AstNode {
    fn attrs(&self) -> AstChildren<Attr>
Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
{ ... }
fn has_atom_attr(&self, atom: &str) -> bool { ... } }

Provided methods

Implementors