pub enum CurveWidth {
PositiveLength(f64),
ByLayer,
}Expand description
The two curve widths MeasureOfWidth admits.
Modelled as a closed enum rather than a bare f64: the rule is not
“any number”, and a caller that passes an unwrapped literal would
produce a file the schema rejects.
Variants§
PositiveLength(f64)
An IfcPositiveLengthMeasure.
ByLayer
The descriptive measure by layer, deferring width to the layer.
Trait Implementations§
Source§impl Clone for CurveWidth
impl Clone for CurveWidth
impl Copy for CurveWidth
Source§impl Debug for CurveWidth
impl Debug for CurveWidth
Source§impl PartialEq for CurveWidth
impl PartialEq for CurveWidth
impl StructuralPartialEq for CurveWidth
Auto Trait Implementations§
impl Freeze for CurveWidth
impl RefUnwindSafe for CurveWidth
impl Send for CurveWidth
impl Sync for CurveWidth
impl Unpin for CurveWidth
impl UnsafeUnpin for CurveWidth
impl UnwindSafe for CurveWidth
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