Struct ra_ap_syntax::ast::MacroStmts [−][src]
pub struct MacroStmts { /* fields omitted */ }
Implementations
pub fn statements(&self) -> AstChildren<Stmt>ⓘNotable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
[src]Trait Implementations
Performs the conversion.
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 MacroStmts
impl !Send for MacroStmts
impl !Sync for MacroStmts
impl Unpin for MacroStmts
impl !UnwindSafe for MacroStmts
Blanket Implementations
#[must_use]fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
[src]Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.