pub enum TypeVariant {
Union(UnionInfo),
BuildIn(BuildInInfo),
Reference(ReferenceInfo),
Enumeration(EnumerationInfo),
Dynamic(DynamicInfo),
All(GroupInfo),
Choice(GroupInfo),
Sequence(GroupInfo),
ComplexType(ComplexInfo),
}Expand description
Actual data type a Type represents.
Variants§
Union(UnionInfo)
Represents a union type
BuildIn(BuildInInfo)
Represents a build-in type
Reference(ReferenceInfo)
References an other type
Enumeration(EnumerationInfo)
Represents an enumeration
Dynamic(DynamicInfo)
Represents an dynamic element
All(GroupInfo)
Represents a specific set of elements
Choice(GroupInfo)
Represents a choice of different elements
Sequence(GroupInfo)
Represents a sequence of different elements
ComplexType(ComplexInfo)
Represents a complex type
Trait Implementations§
Source§impl Clone for TypeVariant
impl Clone for TypeVariant
Source§fn clone(&self) -> TypeVariant
fn clone(&self) -> TypeVariant
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 moreAuto Trait Implementations§
impl Freeze for TypeVariant
impl !RefUnwindSafe for TypeVariant
impl !Send for TypeVariant
impl !Sync for TypeVariant
impl Unpin for TypeVariant
impl !UnwindSafe for TypeVariant
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