pub struct Root(_);
Implementations
sourceimpl Root
impl Root
pub const KIND: SyntaxKind = NODE_ROOT
Trait Implementations
sourceimpl AstNode for Root
impl AstNode for Root
type Language = NixLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(from: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for Root
impl StructuralEq for Root
impl StructuralPartialEq for Root
Auto Trait Implementations
impl !RefUnwindSafe for Root
impl !Send for Root
impl !Sync for Root
impl Unpin for Root
impl !UnwindSafe for Root
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more