#[non_exhaustive]pub enum CatalogQuantityKind {
Length,
Area,
Volume,
Weight,
Time,
Count,
Number,
}Expand description
The family of a simple quantity.
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.
Length
IfcQuantityLength.
Area
IfcQuantityArea.
Volume
IfcQuantityVolume.
Weight
IfcQuantityWeight.
Time
IfcQuantityTime.
Count
IfcQuantityCount.
Number
IfcQuantityNumber.
Implementations§
Source§impl CatalogQuantityKind
impl CatalogQuantityKind
Sourcepub fn entity_name(self) -> &'static str
pub fn entity_name(self) -> &'static str
The IFC entity of this kind.
Trait Implementations§
Source§impl Clone for CatalogQuantityKind
impl Clone for CatalogQuantityKind
Source§fn clone(&self) -> CatalogQuantityKind
fn clone(&self) -> CatalogQuantityKind
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 CatalogQuantityKind
Source§impl Debug for CatalogQuantityKind
impl Debug for CatalogQuantityKind
impl Eq for CatalogQuantityKind
Source§impl PartialEq for CatalogQuantityKind
impl PartialEq for CatalogQuantityKind
impl StructuralPartialEq for CatalogQuantityKind
Auto Trait Implementations§
impl Freeze for CatalogQuantityKind
impl RefUnwindSafe for CatalogQuantityKind
impl Send for CatalogQuantityKind
impl Sync for CatalogQuantityKind
impl Unpin for CatalogQuantityKind
impl UnsafeUnpin for CatalogQuantityKind
impl UnwindSafe for CatalogQuantityKind
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