pub enum IfcVersion {
Ifc2x3,
Ifc4,
Ifc4x3Add2,
}Expand description
A release named in @ifcVersion.
Variants§
Implementations§
Source§impl IfcVersion
impl IfcVersion
Sourcepub const ALL: [IfcVersion; 3]
pub const ALL: [IfcVersion; 3]
Every release the schema enumerates.
Sourcepub fn from_token(token: &str) -> Option<IfcVersion>
pub fn from_token(token: &str) -> Option<IfcVersion>
Parses one schema token. Case-sensitive, as the enumeration is.
Trait Implementations§
Source§impl Clone for IfcVersion
impl Clone for IfcVersion
impl Copy for IfcVersion
Source§impl Debug for IfcVersion
impl Debug for IfcVersion
Source§impl Display for IfcVersion
impl Display for IfcVersion
impl Eq for IfcVersion
Source§impl Hash for IfcVersion
impl Hash for IfcVersion
Source§impl Ord for IfcVersion
impl Ord for IfcVersion
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IfcVersion
impl PartialEq for IfcVersion
Source§impl PartialOrd for IfcVersion
impl PartialOrd for IfcVersion
impl StructuralPartialEq for IfcVersion
Auto Trait Implementations§
impl Freeze for IfcVersion
impl RefUnwindSafe for IfcVersion
impl Send for IfcVersion
impl Sync for IfcVersion
impl Unpin for IfcVersion
impl UnsafeUnpin for IfcVersion
impl UnwindSafe for IfcVersion
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