pub enum ElementMultiplicity {
ZeroOrOne,
One,
Any,
}
Expand description
ElementMultiplicity specifies how often a single child element may occur within its parent
Variants
ZeroOrOne
One
Any
Trait Implementations
sourceimpl Clone for ElementMultiplicity
impl Clone for ElementMultiplicity
sourcefn clone(&self) -> ElementMultiplicity
fn clone(&self) -> ElementMultiplicity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ElementMultiplicity
impl Debug for ElementMultiplicity
sourceimpl PartialEq<ElementMultiplicity> for ElementMultiplicity
impl PartialEq<ElementMultiplicity> for ElementMultiplicity
sourcefn eq(&self, other: &ElementMultiplicity) -> bool
fn eq(&self, other: &ElementMultiplicity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for ElementMultiplicity
impl Eq for ElementMultiplicity
impl StructuralEq for ElementMultiplicity
impl StructuralPartialEq for ElementMultiplicity
Auto Trait Implementations
impl RefUnwindSafe for ElementMultiplicity
impl Send for ElementMultiplicity
impl Sync for ElementMultiplicity
impl Unpin for ElementMultiplicity
impl UnwindSafe for ElementMultiplicity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more