pub struct ComplexRestriction {
pub base: Restriction,
pub particle: Option<TypeDefParticle>,
}Expand description
Complex restriction variant.
Fields§
§base: RestrictionInner base restriction.
particle: Option<TypeDefParticle>Extension particle.
Trait Implementations§
Source§impl Clone for ComplexRestriction
impl Clone for ComplexRestriction
Source§fn clone(&self) -> ComplexRestriction
fn clone(&self) -> ComplexRestriction
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 ComplexRestriction
impl Debug for ComplexRestriction
Auto Trait Implementations§
impl Freeze for ComplexRestriction
impl RefUnwindSafe for ComplexRestriction
impl Send for ComplexRestriction
impl Sync for ComplexRestriction
impl Unpin for ComplexRestriction
impl UnwindSafe for ComplexRestriction
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