pub struct CodeSpan(/* private fields */);Implementations§
Trait Implementations§
Source§impl AstNode for CodeSpan
impl AstNode for CodeSpan
type Language = PanacheLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for CodeSpan
impl !RefUnwindSafe for CodeSpan
impl !Send for CodeSpan
impl !Sync for CodeSpan
impl Unpin for CodeSpan
impl UnsafeUnpin for CodeSpan
impl !UnwindSafe for CodeSpan
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