Trait ra_ap_syntax::ast::AttrsOwner [−][src]
pub trait AttrsOwner: AstNode { fn attrs(&self) -> AstChildren<Attr>ⓘ{ ... } fn has_atom_attr(&self, atom: &str) -> bool { ... } }Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Provided methods
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