pub enum ComplexTypeContent {
Empty,
Simple(SimpleContentDef),
Complex(Box<ComplexContentDef>),
}Expand description
Content model for complex types
Variants§
Empty
Empty content (no elements or text)
Simple(SimpleContentDef)
Simple content (text value with attributes)
Complex(Box<ComplexContentDef>)
Complex content (elements with optional mixed text)
Trait Implementations§
Source§impl Clone for ComplexTypeContent
impl Clone for ComplexTypeContent
Source§fn clone(&self) -> ComplexTypeContent
fn clone(&self) -> ComplexTypeContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComplexTypeContent
impl Debug for ComplexTypeContent
Source§impl Default for ComplexTypeContent
impl Default for ComplexTypeContent
Source§fn default() -> ComplexTypeContent
fn default() -> ComplexTypeContent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComplexTypeContent
impl RefUnwindSafe for ComplexTypeContent
impl Send for ComplexTypeContent
impl Sync for ComplexTypeContent
impl Unpin for ComplexTypeContent
impl UnsafeUnpin for ComplexTypeContent
impl UnwindSafe for ComplexTypeContent
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