pub enum MetricValue<'m> {
Entity(EntityId),
Typed {
type_name: &'m str,
value: &'m Value,
},
}Expand description
Preserved IfcMetricValueSelect without evaluating its meaning.
Variants§
Entity(EntityId)
Entity-valued member such as IfcTable or IfcAppliedValue.
Typed
Explicitly typed scalar/select member and its untouched payload.
Trait Implementations§
Source§impl<'m> Clone for MetricValue<'m>
impl<'m> Clone for MetricValue<'m>
Source§fn clone(&self) -> MetricValue<'m>
fn clone(&self) -> MetricValue<'m>
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<'m> Copy for MetricValue<'m>
Source§impl<'m> Debug for MetricValue<'m>
impl<'m> Debug for MetricValue<'m>
Source§impl<'m> PartialEq for MetricValue<'m>
impl<'m> PartialEq for MetricValue<'m>
impl<'m> StructuralPartialEq for MetricValue<'m>
Auto Trait Implementations§
impl<'m> Freeze for MetricValue<'m>
impl<'m> RefUnwindSafe for MetricValue<'m>
impl<'m> Send for MetricValue<'m>
impl<'m> Sync for MetricValue<'m>
impl<'m> Unpin for MetricValue<'m>
impl<'m> UnsafeUnpin for MetricValue<'m>
impl<'m> UnwindSafe for MetricValue<'m>
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