pub struct StructFieldDecl { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for StructFieldDecl
impl AstNode for StructFieldDecl
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 StructFieldDecl
impl Clone for StructFieldDecl
Source§fn clone(&self) -> StructFieldDecl
fn clone(&self) -> StructFieldDecl
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 StructFieldDecl
impl Debug for StructFieldDecl
Source§impl Display for StructFieldDecl
impl Display for StructFieldDecl
impl Eq for StructFieldDecl
Source§impl Hash for StructFieldDecl
impl Hash for StructFieldDecl
Source§impl PartialEq for StructFieldDecl
impl PartialEq for StructFieldDecl
impl StructuralPartialEq for StructFieldDecl
Auto Trait Implementations§
impl !RefUnwindSafe for StructFieldDecl
impl !Send for StructFieldDecl
impl !Sync for StructFieldDecl
impl !UnwindSafe for StructFieldDecl
impl Freeze for StructFieldDecl
impl Unpin for StructFieldDecl
impl UnsafeUnpin for StructFieldDecl
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