pub struct Namespace<'d> {
pub parent: Element<'d>,
pub prefix: &'d str,
pub uri: &'d str,
}Expand description
Represents a namespace.
This differs from the DOM, which does not treat namespaces as a separate item.
Fields§
§parent: Element<'d>§prefix: &'d str§uri: &'d strImplementations§
Trait Implementations§
impl<'d> Copy for Namespace<'d>
impl<'d> Eq for Namespace<'d>
impl<'d> StructuralPartialEq for Namespace<'d>
Auto Trait Implementations§
impl<'d> Freeze for Namespace<'d>
impl<'d> !RefUnwindSafe for Namespace<'d>
impl<'d> !Send for Namespace<'d>
impl<'d> !Sync for Namespace<'d>
impl<'d> Unpin for Namespace<'d>
impl<'d> !UnwindSafe for Namespace<'d>
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