pub struct INode<'doc> {
pub kind: INodeKind<'doc>,
pub parent: Option<NodeId>,
pub attr_start: usize,
pub attr_end: usize,
pub ns_start: usize,
pub ns_end: usize,
pub content_children: Vec<NodeId>,
}Expand description
Per-node entry in the flat index.
Fields§
§kind: INodeKind<'doc>§parent: Option<NodeId>§attr_start: usizeIDs of attribute nodes (elements only). Half-open range.
attr_end: usize§ns_start: usizeIDs of synthetic namespace nodes (elements only). Half-open
range. Empty when this element has no in-scope namespace
bindings — which, given the implicit xml prefix, only
applies to non-elements.
ns_end: usize§content_children: Vec<NodeId>IDs of content children (non-attribute).
Auto Trait Implementations§
impl<'doc> !RefUnwindSafe for INode<'doc>
impl<'doc> !Send for INode<'doc>
impl<'doc> !Sync for INode<'doc>
impl<'doc> !UnwindSafe for INode<'doc>
impl<'doc> Freeze for INode<'doc>
impl<'doc> Unpin for INode<'doc>
impl<'doc> UnsafeUnpin for INode<'doc>
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