pub struct ProcessingInstructionRef<'a> {
pub target: &'a str,
pub content: Option<&'a str>,
}Fields§
§target: &'a str§content: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for ProcessingInstructionRef<'a>
impl<'a> Clone for ProcessingInstructionRef<'a>
Source§fn clone(&self) -> ProcessingInstructionRef<'a>
fn clone(&self) -> ProcessingInstructionRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ProcessingInstructionRef<'a>
impl<'a> Debug for ProcessingInstructionRef<'a>
Source§impl<'a> PartialEq for ProcessingInstructionRef<'a>
impl<'a> PartialEq for ProcessingInstructionRef<'a>
Source§fn eq(&self, other: &ProcessingInstructionRef<'a>) -> bool
fn eq(&self, other: &ProcessingInstructionRef<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for ProcessingInstructionRef<'a>
impl<'a> Eq for ProcessingInstructionRef<'a>
impl<'a> StructuralPartialEq for ProcessingInstructionRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProcessingInstructionRef<'a>
impl<'a> RefUnwindSafe for ProcessingInstructionRef<'a>
impl<'a> Send for ProcessingInstructionRef<'a>
impl<'a> Sync for ProcessingInstructionRef<'a>
impl<'a> Unpin for ProcessingInstructionRef<'a>
impl<'a> UnsafeUnpin for ProcessingInstructionRef<'a>
impl<'a> UnwindSafe for ProcessingInstructionRef<'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