pub struct Prefix<'a>(/* private fields */);
Expand description
A namespace prefix part of the qualified name of an element tag
or an attribute: a prefix
in <prefix:local-element-name>
or
prefix:local-attribute-name="attribute value"
.
Implementations§
Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for Prefix<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Prefix<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> Ord for Prefix<'a>
impl<'a> Ord for Prefix<'a>
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<'a> PartialOrd for Prefix<'a>
impl<'a> PartialOrd for Prefix<'a>
impl<'a> Copy for Prefix<'a>
impl<'a> Eq for Prefix<'a>
impl<'a> StructuralPartialEq for Prefix<'a>
Auto Trait Implementations§
impl<'a> Freeze for Prefix<'a>
impl<'a> RefUnwindSafe for Prefix<'a>
impl<'a> Send for Prefix<'a>
impl<'a> Sync for Prefix<'a>
impl<'a> Unpin for Prefix<'a>
impl<'a> UnwindSafe for Prefix<'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§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
)