pub struct Root { /* private fields */ }Expand description
Root contains zero or more documents.
Implementations§
Trait Implementations§
Source§impl AstNode for Root
impl AstNode for Root
type Language = YamlLanguage
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,
impl Eq for Root
impl StructuralPartialEq for Root
Auto Trait Implementations§
impl !RefUnwindSafe for Root
impl !Send for Root
impl !Sync for Root
impl !UnwindSafe for Root
impl Freeze for Root
impl Unpin for Root
impl UnsafeUnpin 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