pub enum MetricValueDraft<'a> {
Entity(EntityId),
Typed {
type_name: &'a str,
value: &'a Value,
},
}Expand description
Authoring form of a preserved IfcMetricValueSelect.
Variants§
Entity(EntityId)
Existing or earlier-staged entity-valued member.
Typed
Explicit IFC type name and payload to wrap.
Trait Implementations§
Source§impl<'a> Clone for MetricValueDraft<'a>
impl<'a> Clone for MetricValueDraft<'a>
Source§fn clone(&self) -> MetricValueDraft<'a>
fn clone(&self) -> MetricValueDraft<'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 MetricValueDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for MetricValueDraft<'a>
impl<'a> RefUnwindSafe for MetricValueDraft<'a>
impl<'a> Send for MetricValueDraft<'a>
impl<'a> Sync for MetricValueDraft<'a>
impl<'a> Unpin for MetricValueDraft<'a>
impl<'a> UnsafeUnpin for MetricValueDraft<'a>
impl<'a> UnwindSafe for MetricValueDraft<'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