Struct sxd_document::dom::Text
[−]
[src]
pub struct Text<'d> { /* fields omitted */ }
Textual data
Methods
impl<'d> Text<'d>
[src]
impl<'d> Text<'d>
[src]
fn text(&self) -> &'d str
fn set_text(&self, text: &str)
fn parent(&self) -> Option<Element<'d>>
fn preceding_siblings(&self) -> Vec<ChildOfElement<'d>>
fn following_siblings(&self) -> Vec<ChildOfElement<'d>>
Trait Implementations
impl<'d> Copy for Text<'d>
[src]
impl<'d> Clone for Text<'d>
[src]
fn clone(&self) -> Text<'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 Text<'d>
[src]
fn eq(&self, other: &Text<'d>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<'d> Eq for Text<'d>
[src]
impl<'d> Hash for Text<'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