[][src]Struct sxd_document::dom::ProcessingInstruction

pub struct ProcessingInstruction<'d> { /* fields omitted */ }

Metadata relevant to the application, but not the XML processor or humans

Methods

impl<'d> ProcessingInstruction<'d>[src]

pub fn document(&self) -> Document<'d>[src]

impl<'d> ProcessingInstruction<'d>[src]

pub fn target(&self) -> &'d str[src]

pub fn value(&self) -> Option<&'d str>[src]

pub fn set_target(&self, new_target: &str)[src]

pub fn set_value(&self, new_value: Option<&str>)[src]

pub fn parent(&self) -> Option<ParentOfChild<'d>>[src]

pub fn remove_from_parent(&self)[src]

pub fn preceding_siblings(&self) -> Vec<ChildOfElement<'d>>[src]

pub fn following_siblings(&self) -> Vec<ChildOfElement<'d>>[src]

Trait Implementations

impl<'d> Copy for ProcessingInstruction<'d>[src]

impl<'d> Clone for ProcessingInstruction<'d>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'d> PartialEq<ProcessingInstruction<'d>> for ProcessingInstruction<'d>[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<'d> From<ProcessingInstruction<'d>> for ChildOfRoot<'d>[src]

impl<'a, 'd> From<&'a ProcessingInstruction<'d>> for ChildOfRoot<'d>[src]

impl<'d> From<ProcessingInstruction<'d>> for ChildOfElement<'d>[src]

impl<'a, 'd> From<&'a ProcessingInstruction<'d>> for ChildOfElement<'d>[src]

impl<'d> Eq for ProcessingInstruction<'d>[src]

impl<'d> Debug for ProcessingInstruction<'d>[src]

impl<'d> Hash for ProcessingInstruction<'d>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<'d> !Send for ProcessingInstruction<'d>

impl<'d> !Sync for ProcessingInstruction<'d>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]