pub struct NamespaceNode {
pub prefix: NameId,
pub namespace_uri: NameId,
pub next: NsRef,
}Expand description
A single namespace binding in a linked chain — 12 bytes.
Each element that declares namespace bindings stores an NsRef head
that points to the first NamespaceNode in a chain. The next field
links to the following binding (or NsRef::NULL for end-of-chain).
Fields§
§prefix: NameId§namespace_uri: NameId§next: NsRefImplementations§
Trait Implementations§
Source§impl Clone for NamespaceNode
impl Clone for NamespaceNode
Source§fn clone(&self) -> NamespaceNode
fn clone(&self) -> NamespaceNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NamespaceNode
Source§impl Debug for NamespaceNode
impl Debug for NamespaceNode
Source§impl Default for NamespaceNode
impl Default for NamespaceNode
impl Eq for NamespaceNode
Source§impl PartialEq for NamespaceNode
impl PartialEq for NamespaceNode
Source§fn eq(&self, other: &NamespaceNode) -> bool
fn eq(&self, other: &NamespaceNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NamespaceNode
Auto Trait Implementations§
impl Freeze for NamespaceNode
impl RefUnwindSafe for NamespaceNode
impl Send for NamespaceNode
impl Sync for NamespaceNode
impl Unpin for NamespaceNode
impl UnsafeUnpin for NamespaceNode
impl UnwindSafe for NamespaceNode
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