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
)