#[non_exhaustive]pub struct ConversionBasedUnitDraft<'a> {
pub unit_type: &'a str,
pub name: &'a str,
pub conversion_factor: EntityId,
pub dimensions: EntityId,
}Expand description
Authored fields for IfcConversionBasedUnit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.unit_type: &'a strIfcConversionBasedUnit.UnitType, an IfcUnitEnum constant.
name: &'a strIfcConversionBasedUnit.Name.
conversion_factor: EntityIdIfcConversionBasedUnit.ConversionFactor, an IfcMeasureWithUnit.
dimensions: EntityIdIfcConversionBasedUnit.Dimensions, an IfcDimensionalExponents.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ConversionBasedUnitDraft<'a>
impl<'a> Clone for ConversionBasedUnitDraft<'a>
Source§fn clone(&self) -> ConversionBasedUnitDraft<'a>
fn clone(&self) -> ConversionBasedUnitDraft<'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 ConversionBasedUnitDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConversionBasedUnitDraft<'a>
impl<'a> RefUnwindSafe for ConversionBasedUnitDraft<'a>
impl<'a> Send for ConversionBasedUnitDraft<'a>
impl<'a> Sync for ConversionBasedUnitDraft<'a>
impl<'a> Unpin for ConversionBasedUnitDraft<'a>
impl<'a> UnsafeUnpin for ConversionBasedUnitDraft<'a>
impl<'a> UnwindSafe for ConversionBasedUnitDraft<'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