pub enum LayerSetDirection {
Axis1,
Axis2,
Axis3,
}Expand description
Axis used to measure a material layer set.
Variants§
Axis1
AXIS1: layer set thickness is measured along the first local axis.
Axis2
AXIS2: layer set thickness is measured along the second local axis.
Axis3
AXIS3: layer set thickness is measured along the third local axis.
Implementations§
Source§impl LayerSetDirection
impl LayerSetDirection
Sourcepub fn parse(token: &str) -> Option<Self>
pub fn parse(token: &str) -> Option<Self>
Parses an IfcLayerSetDirectionEnum token (case-insensitively).
Returns None for any string that is not AXIS1, AXIS2, or AXIS3.
Sourcepub fn as_token(self) -> &'static str
pub fn as_token(self) -> &'static str
The IfcLayerSetDirectionEnum token for this value.
Inverse of Self::parse; kept adjacent so the two cannot drift.
Trait Implementations§
Source§impl Clone for LayerSetDirection
impl Clone for LayerSetDirection
impl Copy for LayerSetDirection
Source§impl Debug for LayerSetDirection
impl Debug for LayerSetDirection
impl Eq for LayerSetDirection
Source§impl Hash for LayerSetDirection
impl Hash for LayerSetDirection
Source§impl PartialEq for LayerSetDirection
impl PartialEq for LayerSetDirection
impl StructuralPartialEq for LayerSetDirection
Auto Trait Implementations§
impl Freeze for LayerSetDirection
impl RefUnwindSafe for LayerSetDirection
impl Send for LayerSetDirection
impl Sync for LayerSetDirection
impl Unpin for LayerSetDirection
impl UnsafeUnpin for LayerSetDirection
impl UnwindSafe for LayerSetDirection
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