Struct sxd_document::dom::Comment
[−]
[src]
pub struct Comment<'d> { /* fields omitted */ }Information only relevant to humans
Methods
impl<'d> Comment<'d>[src]
impl<'d> Comment<'d>[src]
fn text(&self) -> &'d str
fn set_text(&self, new_text: &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 Comment<'d>[src]
impl<'d> Clone for Comment<'d>[src]
fn clone(&self) -> Comment<'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 Comment<'d>[src]
fn eq(&self, other: &Comment<'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 Comment<'d>[src]
impl<'d> Hash for Comment<'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