pub struct DocumentNode {
pub kind: EventKind<'static>,
pub span: Range<usize>,
/* private fields */
}Expand description
A semantic AST node. Child and sibling lists use arena indices, not heap objects.
Fields§
§kind: EventKind<'static>Node meaning. Container nodes store their start tag.
span: Range<usize>Source provenance, which remains unchanged when a value is edited.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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