pub struct NamespaceBinding {
pub prefix: Option<String>,
pub uri: String,
}Expand description
A namespace binding: a namespace node of an element, or a namespace declaration.
Fields§
§prefix: Option<String>The prefix; None for the default namespace.
uri: StringThe namespace URI.
Trait Implementations§
Source§impl Clone for NamespaceBinding
impl Clone for NamespaceBinding
Source§impl Debug for NamespaceBinding
impl Debug for NamespaceBinding
impl Eq for NamespaceBinding
Source§impl Hash for NamespaceBinding
impl Hash for NamespaceBinding
Source§impl PartialEq for NamespaceBinding
impl PartialEq for NamespaceBinding
impl StructuralPartialEq for NamespaceBinding
Auto Trait Implementations§
impl Forget for NamespaceBinding
impl Freeze for NamespaceBinding
impl RefUnwindSafe for NamespaceBinding
impl Send for NamespaceBinding
impl Sync for NamespaceBinding
impl Unpin for NamespaceBinding
impl UnsafeUnpin for NamespaceBinding
impl UnwindSafe for NamespaceBinding
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