pub struct ListDef { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for ListDef
impl AstNode for ListDef
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.impl Eq for ListDef
impl StructuralPartialEq for ListDef
Auto Trait Implementations§
impl !RefUnwindSafe for ListDef
impl !Send for ListDef
impl !Sync for ListDef
impl !UnwindSafe for ListDef
impl Freeze for ListDef
impl Unpin for ListDef
impl UnsafeUnpin for ListDef
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