Struct sxd_document::dom::Root
[−]
[src]
pub struct Root<'d> { /* fields omitted */ }
The logical ancestor of every other node type
Methods
impl<'d> Root<'d>
[src]
impl<'d> Root<'d>
[src]
fn append_child<C>(&self, child: C) where
C: Into<ChildOfRoot<'d>>,
C: Into<ChildOfRoot<'d>>,
fn children(&self) -> Vec<ChildOfRoot<'d>>
Trait Implementations
impl<'d> Copy for Root<'d>
[src]
impl<'d> Clone for Root<'d>
[src]
fn clone(&self) -> Root<'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 Root<'d>
[src]
fn eq(&self, other: &Root<'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 Root<'d>
[src]
impl<'d> Hash for Root<'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