#[non_exhaustive]pub enum MeasureUnitType {
Dimensionless,
Named(Arc<str>),
Derived(Arc<str>),
}Expand description
What unit a measure type takes in a release: none, a named unit of an
IfcUnitEnum type, or a derived unit of an IfcDerivedUnitEnum type.
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.
Dimensionless
A dimensionless measure (IfcRatioMeasure, IfcCountMeasure …).
Named(Arc<str>)
A named unit of this IfcUnitEnum constant: IfcLengthMeasure
and IfcPositiveLengthMeasure take a LENGTHUNIT.
Derived(Arc<str>)
A derived unit of this IfcDerivedUnitEnum constant.
Trait Implementations§
Source§impl Clone for MeasureUnitType
impl Clone for MeasureUnitType
Source§fn clone(&self) -> MeasureUnitType
fn clone(&self) -> MeasureUnitType
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 moreSource§impl Debug for MeasureUnitType
impl Debug for MeasureUnitType
impl Eq for MeasureUnitType
Source§impl PartialEq for MeasureUnitType
impl PartialEq for MeasureUnitType
impl StructuralPartialEq for MeasureUnitType
Auto Trait Implementations§
impl Freeze for MeasureUnitType
impl RefUnwindSafe for MeasureUnitType
impl Send for MeasureUnitType
impl Sync for MeasureUnitType
impl Unpin for MeasureUnitType
impl UnsafeUnpin for MeasureUnitType
impl UnwindSafe for MeasureUnitType
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