Enum ra_ap_syntax::ast::AssocItem [−][src]
Variants
Const(Const)
Fn(Fn)
MacroCall(MacroCall)
TypeAlias(TypeAlias)
Trait Implementations
fn attrs(&self) -> AstChildren<Attr>ⓘNotable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Auto Trait Implementations
impl !RefUnwindSafe for AssocItem
impl !UnwindSafe for AssocItem
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.