pub struct Root(/* private fields */);
Implementations§
Trait Implementations§
source§impl 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,
source§impl PartialEq for Root
impl PartialEq for Root
impl Eq for Root
impl StructuralPartialEq for Root
Auto Trait Implementations§
impl Freeze for Root
impl !RefUnwindSafe for Root
impl !Send for Root
impl !Sync for Root
impl Unpin for Root
impl !UnwindSafe for Root
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