pub struct TrimmingSelect {
pub point: Option<EntityId>,
pub parameter: Option<f64>,
}Expand description
IfcTrimmingSelect = IfcCartesianPoint | IfcParameterValue.
§The one select that is not always a reference
A trim may be a point (an entity reference) or a parameter (a bare
number wrapped as IFCPARAMETERVALUE(1.57)). Both may be present on the
same trim, and IfcTrimmingPreference decides which wins. Modelling this
as anything less than both-optional loses information the file carries.
Fields§
§point: Option<EntityId>Trim given as a Cartesian point.
parameter: Option<f64>Trim given as a parameter along the basis curve.
Implementations§
Trait Implementations§
Source§impl Clone for TrimmingSelect
impl Clone for TrimmingSelect
Source§impl Debug for TrimmingSelect
impl Debug for TrimmingSelect
Source§impl PartialEq for TrimmingSelect
impl PartialEq for TrimmingSelect
impl StructuralPartialEq for TrimmingSelect
Auto Trait Implementations§
impl Freeze for TrimmingSelect
impl RefUnwindSafe for TrimmingSelect
impl Send for TrimmingSelect
impl Sync for TrimmingSelect
impl Unpin for TrimmingSelect
impl UnsafeUnpin for TrimmingSelect
impl UnwindSafe for TrimmingSelect
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