Struct sxd_document::dom::ProcessingInstruction
[−]
[src]
pub struct ProcessingInstruction<'d> { /* fields omitted */ }Metadata relevant to the application, but not the XML processor or humans
Methods
impl<'d> ProcessingInstruction<'d>[src]
impl<'d> ProcessingInstruction<'d>[src]
fn target(&self) -> &'d str
fn value(&self) -> Option<&'d str>
fn set_target(&self, new_target: &str)
fn set_value(&self, new_value: Option<&str>)
fn parent(&self) -> Option<ParentOfChild<'d>>
fn preceding_siblings(&self) -> Vec<ChildOfElement<'d>>
fn following_siblings(&self) -> Vec<ChildOfElement<'d>>
Trait Implementations
impl<'d> Copy for ProcessingInstruction<'d>[src]
impl<'d> Clone for ProcessingInstruction<'d>[src]
fn clone(&self) -> ProcessingInstruction<'d>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'d> PartialEq for ProcessingInstruction<'d>[src]
fn eq(&self, other: &ProcessingInstruction<'d>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl<'d> Eq for ProcessingInstruction<'d>[src]
impl<'d> Hash for ProcessingInstruction<'d>[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
H: Hasher,
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more