pub enum Ast<N: TreeNode = SyntaxNode> {
Unsupported,
V1(Ast<N>),
}Expand description
Represents the AST of a Document.
See Document::ast.
Variants§
Implementations§
Trait Implementations§
impl<N: Eq + TreeNode> Eq for Ast<N>
impl<N: TreeNode> StructuralPartialEq for Ast<N>
Auto Trait Implementations§
impl<N> Freeze for Ast<N>where
N: Freeze,
impl<N> RefUnwindSafe for Ast<N>where
N: RefUnwindSafe,
impl<N> Send for Ast<N>where
N: Send,
impl<N> Sync for Ast<N>where
N: Sync,
impl<N> Unpin for Ast<N>where
N: Unpin,
impl<N> UnwindSafe for Ast<N>where
N: UnwindSafe,
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