pub enum SimpleContent {
Restriction(Restriction),
Extension(Extension),
}Expand description
Content of a simple type.
Variants§
Restriction(Restriction)
Restriction of some other type.
Extension(Extension)
Extension of some other type.
Trait Implementations§
Source§impl Clone for SimpleContent
impl Clone for SimpleContent
Source§fn clone(&self) -> SimpleContent
fn clone(&self) -> SimpleContent
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 SimpleContent
impl RefUnwindSafe for SimpleContent
impl Send for SimpleContent
impl Sync for SimpleContent
impl Unpin for SimpleContent
impl UnwindSafe for SimpleContent
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