#[non_exhaustive]pub enum TrimMeasure {
Parameter(f64),
Length(f64),
}Expand description
One end of a directrix sweep’s trim, as the file states it.
Values are in the file’s units, as everywhere in crate::solid;
converting a Self::Length is lowering’s job.
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.
Parameter(f64)
An IfcParameterValue in the directrix’s own parameter space: a bare
value in IFC2X3 and IFC4, IFCPARAMETERVALUE(..) in IFC4X3.
Length(f64)
An IfcLengthMeasure, a distance along the directrix in the file’s
length unit: IFCLENGTHMEASURE(..), IFC4X3 only.
Implementations§
Trait Implementations§
Source§impl Clone for TrimMeasure
impl Clone for TrimMeasure
Source§fn clone(&self) -> TrimMeasure
fn clone(&self) -> TrimMeasure
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 Copy for TrimMeasure
Source§impl Debug for TrimMeasure
impl Debug for TrimMeasure
Source§impl PartialEq for TrimMeasure
impl PartialEq for TrimMeasure
impl StructuralPartialEq for TrimMeasure
Auto Trait Implementations§
impl Freeze for TrimMeasure
impl RefUnwindSafe for TrimMeasure
impl Send for TrimMeasure
impl Sync for TrimMeasure
impl Unpin for TrimMeasure
impl UnsafeUnpin for TrimMeasure
impl UnwindSafe for TrimMeasure
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