Trait ra_ap_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
fn attrs(&self) -> AstChildren<Attr>ⓘNotable traits for AstChildren<N>impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;