Struct sxd_document::dom::Comment
[−]
[src]
pub struct Comment<'d> { /* fields omitted */ }
Methods
impl<'d> Comment<'d>[src]
impl<'d> Comment<'d>[src]
fn text(&self) -> &'d str[src]
fn set_text(&self, new_text: &str)[src]
fn parent(&self) -> Option<ParentOfChild<'d>>[src]
fn preceding_siblings(&self) -> Vec<ChildOfElement<'d>>[src]
fn following_siblings(&self) -> Vec<ChildOfElement<'d>>[src]
Trait Implementations
impl<'d> Copy for Comment<'d>[src]
impl<'d> Clone for Comment<'d>[src]
fn clone(&self) -> Comment<'d>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'d> PartialEq for Comment<'d>[src]
fn eq(&self, other: &Comment<'d>) -> bool[src]
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[src]
This method tests for !=.
impl<'d> Eq for Comment<'d>[src]
impl<'d> Hash for Comment<'d>[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher, [src]
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[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more