#[non_exhaustive]pub enum CostValueKind<'a> {
Monetary(f64),
Components {
operator: ArithmeticOperator,
components: &'a [EntityId],
},
}Expand description
The unambiguous applied-value shape supported by bounded authoring.
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.
Monetary(f64)
One finite IfcMonetaryMeasure.
Components
An ordered composition of already existing or staged cost values.
Fields
§
operator: ArithmeticOperatorArithmetic operation applied by consumers.
Trait Implementations§
Source§impl<'a> Clone for CostValueKind<'a>
impl<'a> Clone for CostValueKind<'a>
Source§fn clone(&self) -> CostValueKind<'a>
fn clone(&self) -> CostValueKind<'a>
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<'a> Copy for CostValueKind<'a>
Auto Trait Implementations§
impl<'a> Freeze for CostValueKind<'a>
impl<'a> RefUnwindSafe for CostValueKind<'a>
impl<'a> Send for CostValueKind<'a>
impl<'a> Sync for CostValueKind<'a>
impl<'a> Unpin for CostValueKind<'a>
impl<'a> UnsafeUnpin for CostValueKind<'a>
impl<'a> UnwindSafe for CostValueKind<'a>
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