pub struct RecordField(/* private fields */);Expand description
r.field.
Implementations§
Trait Implementations§
Source§impl AstNode for RecordField
impl AstNode for RecordField
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Whether nodes of
kind can be wrapped.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Wraps
node if it has the right kind.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying node.
Source§impl Clone for RecordField
impl Clone for RecordField
Source§impl Debug for RecordField
impl Debug for RecordField
impl Eq for RecordField
Source§impl Hash for RecordField
impl Hash for RecordField
Source§impl PartialEq for RecordField
impl PartialEq for RecordField
impl StructuralPartialEq for RecordField
Auto Trait Implementations§
impl !RefUnwindSafe for RecordField
impl !Send for RecordField
impl !Sync for RecordField
impl !UnwindSafe for RecordField
impl Forget for RecordField
impl Freeze for RecordField
impl Move for RecordField
impl Unpin for RecordField
impl UnsafeUnpin for RecordField
Blanket Implementations§
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