#[non_exhaustive]pub enum AggregateKind {
List,
Set,
Bag,
Array,
}Expand description
The four EXPRESS aggregation types (ISO 10303-11 §8.2).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
List
LIST: ordered, duplicates allowed unless UNIQUE.
Set
SET: unordered, no duplicates.
Bag
BAG: unordered, duplicates allowed.
Array
ARRAY: fixed-size, indexed by its bounds.
Trait Implementations§
Source§impl Clone for AggregateKind
impl Clone for AggregateKind
impl Copy for AggregateKind
Source§impl Debug for AggregateKind
impl Debug for AggregateKind
impl Eq for AggregateKind
Source§impl Hash for AggregateKind
impl Hash for AggregateKind
Source§impl PartialEq for AggregateKind
impl PartialEq for AggregateKind
impl StructuralPartialEq for AggregateKind
Auto Trait Implementations§
impl Freeze for AggregateKind
impl RefUnwindSafe for AggregateKind
impl Send for AggregateKind
impl Sync for AggregateKind
impl Unpin for AggregateKind
impl UnsafeUnpin for AggregateKind
impl UnwindSafe for AggregateKind
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