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