#[non_exhaustive]pub struct XmlPI(pub Vec<u8>);Expand description
A processing instruction.
Tuple Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: Vec<u8>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XmlPI
impl<'de> Deserialize<'de> for XmlPI
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>,
Deserializes a value from a deserializer.
Source§fn deserialize_seq<D: Deserializer<'de>>(reader: D) -> Result<Self, D::Error>
fn deserialize_seq<D: Deserializer<'de>>(reader: D) -> Result<Self, D::Error>
Deserializes a value from a deserializer, but tries to do it from a sequence of values.
Source§impl<'de> Deserializer<'de> for &'de XmlPI
impl<'de> Deserializer<'de> for &'de XmlPI
Source§impl Ord for XmlPI
impl Ord for XmlPI
Source§impl PartialOrd for XmlPI
impl PartialOrd for XmlPI
impl Eq for XmlPI
impl StructuralPartialEq for XmlPI
Auto Trait Implementations§
impl Freeze for XmlPI
impl RefUnwindSafe for XmlPI
impl Send for XmlPI
impl Sync for XmlPI
impl Unpin for XmlPI
impl UnwindSafe for XmlPI
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