pub enum NestedParticle {
Element(Element),
Choice(Group),
Sequence(Group),
Any(Any),
}Expand description
A variant of particle that can occur inside another object.
Variants§
Element(Element)
Element type
Choice(Group)
Choice between different types.
Sequence(Group)
Sequence of particles in a fixed order.
Any(Any)
Anything
Trait Implementations§
Source§impl Clone for NestedParticle
impl Clone for NestedParticle
Source§fn clone(&self) -> NestedParticle
fn clone(&self) -> NestedParticle
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 moreAuto Trait Implementations§
impl Freeze for NestedParticle
impl RefUnwindSafe for NestedParticle
impl Send for NestedParticle
impl Sync for NestedParticle
impl Unpin for NestedParticle
impl UnwindSafe for NestedParticle
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