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