pub enum DirectionSense {
Positive,
Negative,
}Expand description
IFC direction along or opposite an axis.
Variants§
Positive
POSITIVE: the layer/profile direction runs along the reference axis.
Negative
NEGATIVE: the layer/profile direction runs opposite the reference axis.
Implementations§
Source§impl DirectionSense
impl DirectionSense
Sourcepub fn parse(token: &str) -> Option<Self>
pub fn parse(token: &str) -> Option<Self>
Parses an IfcDirectionSenseEnum token (case-insensitively). Returns
None for any string that is not POSITIVE or NEGATIVE.
Sourcepub fn as_token(self) -> &'static str
pub fn as_token(self) -> &'static str
The IfcDirectionSenseEnum token for this value.
Inverse of Self::parse; kept adjacent so the two cannot drift.
Trait Implementations§
Source§impl Clone for DirectionSense
impl Clone for DirectionSense
impl Copy for DirectionSense
Source§impl Debug for DirectionSense
impl Debug for DirectionSense
impl Eq for DirectionSense
Source§impl Hash for DirectionSense
impl Hash for DirectionSense
Source§impl PartialEq for DirectionSense
impl PartialEq for DirectionSense
impl StructuralPartialEq for DirectionSense
Auto Trait Implementations§
impl Freeze for DirectionSense
impl RefUnwindSafe for DirectionSense
impl Send for DirectionSense
impl Sync for DirectionSense
impl Unpin for DirectionSense
impl UnsafeUnpin for DirectionSense
impl UnwindSafe for DirectionSense
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