pub struct ExpandedName {
pub ns: Namespace,
pub local: LocalName,
}
Expand description
Fields§
§ns: Namespace
Namespace URL
local: LocalName
“Local” part of the name
Implementations§
Trait Implementations§
source§impl Clone for ExpandedName
impl Clone for ExpandedName
source§fn clone(&self) -> ExpandedName
fn clone(&self) -> ExpandedName
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 Debug for ExpandedName
impl Debug for ExpandedName
source§impl Hash for ExpandedName
impl Hash for ExpandedName
source§impl Ord for ExpandedName
impl Ord for ExpandedName
source§fn cmp(&self, other: &ExpandedName) -> Ordering
fn cmp(&self, other: &ExpandedName) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ExpandedName
impl PartialEq for ExpandedName
source§impl PartialOrd for ExpandedName
impl PartialOrd for ExpandedName
impl Eq for ExpandedName
impl StructuralPartialEq for ExpandedName
Auto Trait Implementations§
impl Freeze for ExpandedName
impl RefUnwindSafe for ExpandedName
impl Send for ExpandedName
impl Sync for ExpandedName
impl Unpin for ExpandedName
impl UnwindSafe for ExpandedName
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§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
)