pub struct SceneSlug { /* private fields */ }Implementations§
Source§impl SceneSlug
impl SceneSlug
pub fn name_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for SceneSlug
impl AstNode for SceneSlug
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 SceneSlug
impl StructuralPartialEq for SceneSlug
Auto Trait Implementations§
impl !RefUnwindSafe for SceneSlug
impl !Send for SceneSlug
impl !Sync for SceneSlug
impl !UnwindSafe for SceneSlug
impl Freeze for SceneSlug
impl Unpin for SceneSlug
impl UnsafeUnpin for SceneSlug
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