pub struct PI<'input> {
pub target: &'input str,
pub value: Option<&'input str>,
}
Expand description
A processing instruction.
Fields§
§target: &'input str
§value: Option<&'input str>
Trait Implementations§
impl<'input> Copy for PI<'input>
impl<'input> Eq for PI<'input>
impl<'input> StructuralPartialEq for PI<'input>
Auto Trait Implementations§
impl<'input> Freeze for PI<'input>
impl<'input> RefUnwindSafe for PI<'input>
impl<'input> Send for PI<'input>
impl<'input> Sync for PI<'input>
impl<'input> Unpin for PI<'input>
impl<'input> UnwindSafe for PI<'input>
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
)