pub enum ConstructKind {
Show 23 variants
Module,
Primitive,
Fixed,
StringType,
Sequence,
Array,
Map,
Structure,
Union,
Enumeration,
Bitmask,
Bitset,
Alias,
Valuetype,
ValueBox,
Native,
Any,
ValueBase,
ObjectRef,
AnnotationType,
Const,
Interface,
Exception,
}Expand description
The constructs a rule catalogue has to account for.
The same 21 zerodds-ast-1.0 §8.2 rules on, so the two tables can be
read against each other.
Variants§
Module
A module.
Primitive
A primitive type.
Fixed
fixed<d,s>.
StringType
string and wstring.
Sequence
sequence<T>.
Array
An array.
Map
map<K,V>.
Structure
A struct.
Union
A union.
Enumeration
An enumeration.
Bitmask
A bitmask.
Bitset
A bitset.
Alias
A typedef.
Valuetype
A valuetype.
ValueBox
A boxed value.
Native
A native type.
Any
any.
ValueBase
ValueBase.
ObjectRef
An object reference.
AnnotationType
An annotation type.
Const
A constant.
Interface
An interface.
Exception
An exception.
Implementations§
Trait Implementations§
Source§impl Clone for ConstructKind
impl Clone for ConstructKind
impl Copy for ConstructKind
Source§impl Debug for ConstructKind
impl Debug for ConstructKind
impl Eq for ConstructKind
Source§impl Hash for ConstructKind
impl Hash for ConstructKind
Source§impl Ord for ConstructKind
impl Ord for ConstructKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConstructKind
impl PartialEq for ConstructKind
Source§impl PartialOrd for ConstructKind
impl PartialOrd for ConstructKind
impl StructuralPartialEq for ConstructKind
Auto Trait Implementations§
impl Freeze for ConstructKind
impl RefUnwindSafe for ConstructKind
impl Send for ConstructKind
impl Sync for ConstructKind
impl Unpin for ConstructKind
impl UnsafeUnpin for ConstructKind
impl UnwindSafe for ConstructKind
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