pub struct Node {Show 13 fields
pub kind: NodeKind,
pub name: String,
pub prefix: Option<String>,
pub ns_uri: Option<String>,
pub content: String,
pub parent: Option<NodeId>,
pub first_child: Option<NodeId>,
pub last_child: Option<NodeId>,
pub prev_sibling: Option<NodeId>,
pub next_sibling: Option<NodeId>,
pub first_attr: Option<NodeId>,
pub last_attr: Option<NodeId>,
pub ns_defs: Vec<(Option<String>, String)>,
}Fields§
§kind: NodeKind§name: String§prefix: Option<String>§ns_uri: Option<String>§content: String§parent: Option<NodeId>§first_child: Option<NodeId>§last_child: Option<NodeId>§prev_sibling: Option<NodeId>§next_sibling: Option<NodeId>§first_attr: Option<NodeId>§last_attr: Option<NodeId>§ns_defs: Vec<(Option<String>, String)>Namespace declarations on this element (xmlns / xmlns:prefix), in source order.
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