pub enum XsdComponentType {
Show 25 variants
Schema,
Element,
Attribute,
ComplexType,
SimpleType,
SimpleContent,
ComplexContent,
Sequence,
Choice,
All,
Restriction,
Extension,
List,
Union,
Annotation,
Any,
AnyAttribute,
Group,
AttributeGroup,
Notation,
Unique,
Key,
KeyRef,
Selector,
Field,
}Expand description
XSD component types — mirrors libxml2’s schema component classification.
§UPSTREAM-PARITY
libxml2 defines these as xmlSchemaTypeType in include/schemas/internals.h.
Variants§
Schema
Element
Attribute
ComplexType
SimpleType
SimpleContent
ComplexContent
Sequence
Choice
All
Restriction
Extension
List
Union
Annotation
Any
AnyAttribute
Group
AttributeGroup
Notation
Unique
Key
KeyRef
Selector
Field
Trait Implementations§
Source§impl Clone for XsdComponentType
impl Clone for XsdComponentType
Source§fn clone(&self) -> XsdComponentType
fn clone(&self) -> XsdComponentType
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 moreimpl Copy for XsdComponentType
Source§impl Debug for XsdComponentType
impl Debug for XsdComponentType
impl Eq for XsdComponentType
Source§impl PartialEq for XsdComponentType
impl PartialEq for XsdComponentType
impl StructuralPartialEq for XsdComponentType
Auto Trait Implementations§
impl Freeze for XsdComponentType
impl RefUnwindSafe for XsdComponentType
impl Send for XsdComponentType
impl Sync for XsdComponentType
impl Unpin for XsdComponentType
impl UnsafeUnpin for XsdComponentType
impl UnwindSafe for XsdComponentType
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