Struct ra_ap_syntax::ast::RecordExpr
source · pub struct RecordExpr { /* private fields */ }
Implementations§
source§impl RecordExpr
impl RecordExpr
pub fn path(&self) -> Option<Path>
pub fn record_expr_field_list(&self) -> Option<RecordExprFieldList>
Trait Implementations§
source§impl AstNode for RecordExpr
impl AstNode for RecordExpr
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
source§impl Clone for RecordExpr
impl Clone for RecordExpr
source§fn clone(&self) -> RecordExpr
fn clone(&self) -> RecordExpr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RecordExpr
impl Debug for RecordExpr
source§impl Display for RecordExpr
impl Display for RecordExpr
source§impl From<RecordExpr> for Expr
impl From<RecordExpr> for Expr
source§fn from(node: RecordExpr) -> Expr
fn from(node: RecordExpr) -> Expr
Converts to this type from the input type.
source§impl Hash for RecordExpr
impl Hash for RecordExpr
source§impl PartialEq for RecordExpr
impl PartialEq for RecordExpr
source§fn eq(&self, other: &RecordExpr) -> bool
fn eq(&self, other: &RecordExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RecordExpr
impl StructuralPartialEq for RecordExpr
Auto Trait Implementations§
impl Freeze for RecordExpr
impl !RefUnwindSafe for RecordExpr
impl !Send for RecordExpr
impl !Sync for RecordExpr
impl Unpin for RecordExpr
impl !UnwindSafe for RecordExpr
Blanket Implementations§
source§impl<N> AstNodeEdit for N
impl<N> AstNodeEdit for N
fn indent_level(&self) -> IndentLevel
fn indent(&self, level: IndentLevel) -> Self
fn dedent(&self, level: IndentLevel) -> Self
fn reset_indent(&self) -> Self
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.