Struct markup5ever::interface::ExpandedName
source · pub struct ExpandedName<'a> {
pub ns: &'a Namespace,
pub local: &'a LocalName,
}
Expand description
An expanded name, containing the tag and the namespace.
Fields§
§ns: &'a Namespace
§local: &'a LocalName
Trait Implementations§
source§impl<'a> Clone for ExpandedName<'a>
impl<'a> Clone for ExpandedName<'a>
source§fn clone(&self) -> ExpandedName<'a>
fn clone(&self) -> ExpandedName<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for ExpandedName<'a>
impl<'a> Debug for ExpandedName<'a>
source§impl<'a> ElemName for ExpandedName<'a>
impl<'a> ElemName for ExpandedName<'a>
source§impl<'a> Hash for ExpandedName<'a>
impl<'a> Hash for ExpandedName<'a>
source§impl<'a> PartialEq for ExpandedName<'a>
impl<'a> PartialEq for ExpandedName<'a>
source§fn eq(&self, other: &ExpandedName<'a>) -> bool
fn eq(&self, other: &ExpandedName<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for ExpandedName<'a>
impl<'a> Eq for ExpandedName<'a>
impl<'a> StructuralPartialEq for ExpandedName<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExpandedName<'a>
impl<'a> RefUnwindSafe for ExpandedName<'a>
impl<'a> Send for ExpandedName<'a>
impl<'a> Sync for ExpandedName<'a>
impl<'a> Unpin for ExpandedName<'a>
impl<'a> UnwindSafe for ExpandedName<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)