#[repr(C, u8)]pub enum XmlNodeChild {
Text(AzString),
Element(XmlNode),
}Expand description
Represents a child of an XML node - either an element or text
Variants§
Implementations§
Source§impl XmlNodeChild
impl XmlNodeChild
Trait Implementations§
Source§impl Clone for XmlNodeChild
impl Clone for XmlNodeChild
Source§fn clone(&self) -> XmlNodeChild
fn clone(&self) -> XmlNodeChild
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for XmlNodeChild
impl Debug for XmlNodeChild
Source§impl Extend<XmlNodeChild> for XmlNodeChildVec
impl Extend<XmlNodeChild> for XmlNodeChildVec
Source§fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = XmlNodeChild>,
fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = XmlNodeChild>,
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<XmlNodeChild> for XmlNodeChildVec
impl FromIterator<XmlNodeChild> for XmlNodeChildVec
Source§fn from_iter<T>(iter: T) -> XmlNodeChildVecwhere
T: IntoIterator<Item = XmlNodeChild>,
fn from_iter<T>(iter: T) -> XmlNodeChildVecwhere
T: IntoIterator<Item = XmlNodeChild>,
Creates a value from an iterator. Read more
Source§impl Hash for XmlNodeChild
impl Hash for XmlNodeChild
Source§impl Ord for XmlNodeChild
impl Ord for XmlNodeChild
Source§fn cmp(&self, other: &XmlNodeChild) -> Ordering
fn cmp(&self, other: &XmlNodeChild) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for XmlNodeChild
impl PartialEq for XmlNodeChild
Source§impl PartialOrd for XmlNodeChild
impl PartialOrd for XmlNodeChild
impl Eq for XmlNodeChild
impl StructuralPartialEq for XmlNodeChild
Auto Trait Implementations§
impl Freeze for XmlNodeChild
impl RefUnwindSafe for XmlNodeChild
impl Send for XmlNodeChild
impl Sync for XmlNodeChild
impl Unpin for XmlNodeChild
impl UnwindSafe for XmlNodeChild
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more