pub struct Particle {
pub min_occurs: u32,
pub max_occurs: MaxOccurs,
pub term: Term,
}Expand description
One particle in a content model — an element, a wildcard, or a nested group — with occurrence bounds.
Fields§
§min_occurs: u32§max_occurs: MaxOccurs§term: TermTrait Implementations§
Auto Trait Implementations§
impl Freeze for Particle
impl RefUnwindSafe for Particle
impl Send for Particle
impl Sync for Particle
impl Unpin for Particle
impl UnsafeUnpin for Particle
impl UnwindSafe for Particle
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