Struct ra_ap_syntax::ast::RecordExprField [−][src]
pub struct RecordExprField { /* fields omitted */ }
Implementations
Deals with field init shorthand
This will either replace the initializer, or in the case that this is a shorthand convert the initializer into the name ref and insert the expr as the new initializer.
Trait Implementations
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;
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 RecordExprField
impl !Send for RecordExprField
impl !Sync for RecordExprField
impl Unpin for RecordExprField
impl !UnwindSafe for RecordExprField
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.