pub struct Root<'a> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<'a> AstNode<'a> for Root<'a>
impl<'a> AstNode<'a> for Root<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> FnDefOwner<'a> for Root<'a>
impl<'a> FnDefOwner<'a> for Root<'a>
fn functions(self) -> AstChildren<'a, FnDef<'a>> ⓘ
sourceimpl<'a> ModuleItemOwner<'a> for Root<'a>
impl<'a> ModuleItemOwner<'a> for Root<'a>
fn items(self) -> AstChildren<'a, ModuleItem<'a>> ⓘ
impl<'a> Copy for Root<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Root<'a>
impl<'a> Send for Root<'a>
impl<'a> Sync for Root<'a>
impl<'a> Unpin for Root<'a>
impl<'a> !UnwindSafe for Root<'a>
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