pub enum RestrictionContent {
Annotation(Annotation),
SimpleType(SimpleBaseType),
Facet(Facet),
}Variants§
Trait Implementations§
Source§impl Clone for RestrictionContent
impl Clone for RestrictionContent
Source§fn clone(&self) -> RestrictionContent
fn clone(&self) -> RestrictionContent
Returns a copy 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 RestrictionContent
impl Debug for RestrictionContent
Source§impl PartialEq for RestrictionContent
impl PartialEq for RestrictionContent
impl Eq for RestrictionContent
impl StructuralPartialEq for RestrictionContent
Auto Trait Implementations§
impl Freeze for RestrictionContent
impl RefUnwindSafe for RestrictionContent
impl Send for RestrictionContent
impl Sync for RestrictionContent
impl Unpin for RestrictionContent
impl UnwindSafe for RestrictionContent
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