pub(crate) struct NodeData<'input> {
pub(crate) parent: Option<NodeId>,
pub(crate) prev_sibling: Option<NodeId>,
pub(crate) next_subtree: Option<NodeId>,
pub(crate) last_child: Option<NodeId>,
pub(crate) kind: NodeKind<'input>,
pub(crate) range: Range<usize>,
}Fields§
§parent: Option<NodeId>§prev_sibling: Option<NodeId>§next_subtree: Option<NodeId>§last_child: Option<NodeId>§kind: NodeKind<'input>§range: Range<usize>Trait Implementations§
Auto Trait Implementations§
impl<'input> Freeze for NodeData<'input>
impl<'input> RefUnwindSafe for NodeData<'input>
impl<'input> Send for NodeData<'input>
impl<'input> Sync for NodeData<'input>
impl<'input> Unpin for NodeData<'input>
impl<'input> UnwindSafe for NodeData<'input>
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