Struct ra_ap_syntax::ast::MacroItems [−][src]
pub struct MacroItems { /* fields omitted */ }
Trait Implementations
fn items(&self) -> AstChildren<Item>ⓘNotable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for MacroItems
impl !Send for MacroItems
impl !Sync for MacroItems
impl Unpin for MacroItems
impl !UnwindSafe for MacroItems
Blanket Implementations
fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.