pub struct StructFieldInit { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for StructFieldInit
impl AstNode for StructFieldInit
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true if a node with the given kind can be cast to Self.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for StructFieldInit
impl Clone for StructFieldInit
Source§fn clone(&self) -> StructFieldInit
fn clone(&self) -> StructFieldInit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StructFieldInit
impl Debug for StructFieldInit
Source§impl Display for StructFieldInit
impl Display for StructFieldInit
impl Eq for StructFieldInit
Source§impl Hash for StructFieldInit
impl Hash for StructFieldInit
Source§impl PartialEq for StructFieldInit
impl PartialEq for StructFieldInit
impl StructuralPartialEq for StructFieldInit
Auto Trait Implementations§
impl !RefUnwindSafe for StructFieldInit
impl !Send for StructFieldInit
impl !Sync for StructFieldInit
impl !UnwindSafe for StructFieldInit
impl Freeze for StructFieldInit
impl Unpin for StructFieldInit
impl UnsafeUnpin for StructFieldInit
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