pub struct Cue { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for Cue
impl AstNode for Cue
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true for a node with a SyntaxKind this type can wrap.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 Cue
impl StructuralPartialEq for Cue
Auto Trait Implementations§
impl !RefUnwindSafe for Cue
impl !Send for Cue
impl !Sync for Cue
impl !UnwindSafe for Cue
impl Freeze for Cue
impl Unpin for Cue
impl UnsafeUnpin for Cue
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