#[non_exhaustive]pub enum VerticalSegmentType {
ConstantGradient,
CircularArc,
ParabolicArc,
Clothoid,
UserDefined,
NotDefined,
Other(String),
}Expand description
IfcAlignmentVerticalSegmentTypeEnum member: the vertical curve law
applied over one segment’s distance-along span.
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.
ConstantGradient
CONSTANTGRADIENT: a straight grade line (start_gradient ==
end_gradient, no radius_of_curvature). The only kind exact
neutral lowering currently supports.
CircularArc
CIRCULARARC: constant-radius vertical curve; requires
radius_of_curvature.
ParabolicArc
PARABOLICARC: parabolic vertical curve; requires
radius_of_curvature.
Clothoid
CLOTHOID: a clothoid-law vertical transition.
UserDefined
USERDEFINED: an author-supplied law outside the enumerated set.
NotDefined
NOTDEFINED: no vertical segment kind was declared.
Other(String)
An enumeration token this crate does not recognise, preserved verbatim.
Trait Implementations§
Source§impl Clone for VerticalSegmentType
impl Clone for VerticalSegmentType
Source§impl Debug for VerticalSegmentType
impl Debug for VerticalSegmentType
impl Eq for VerticalSegmentType
Source§impl PartialEq for VerticalSegmentType
impl PartialEq for VerticalSegmentType
impl StructuralPartialEq for VerticalSegmentType
Auto Trait Implementations§
impl Freeze for VerticalSegmentType
impl RefUnwindSafe for VerticalSegmentType
impl Send for VerticalSegmentType
impl Sync for VerticalSegmentType
impl Unpin for VerticalSegmentType
impl UnsafeUnpin for VerticalSegmentType
impl UnwindSafe for VerticalSegmentType
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