pub enum Item {
Node(u32),
Attr {
owner: u32,
index: u32,
ns: u32,
},
}Expand description
A node in XPath’s data model: a tree node, or an attribute (which the
tree keeps on its element rather than as a node of its own). Sixteen
bytes: a node-set can hold every node of a big page, so its name and
value are read from the document (Doc::attr_at), not kept here.
Variants§
Trait Implementations§
impl Copy for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Forget for Item
impl Freeze for Item
impl Move for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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