pub struct DimensionCount(/* private fields */);Expand description
IfcDimensionCount = INTEGER with WHERE WR1: { 0 < SELF <= 3 }.
The where-rule is the whole point of the type, so it is enforced at construction and the invalid states are unrepresentable thereafter.
Implementations§
Trait Implementations§
Source§impl Clone for DimensionCount
impl Clone for DimensionCount
impl Copy for DimensionCount
Source§impl Debug for DimensionCount
impl Debug for DimensionCount
impl Eq for DimensionCount
Source§impl Ord for DimensionCount
impl Ord for DimensionCount
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 DimensionCount
impl PartialEq for DimensionCount
Source§impl PartialOrd for DimensionCount
impl PartialOrd for DimensionCount
impl StructuralPartialEq for DimensionCount
Auto Trait Implementations§
impl Freeze for DimensionCount
impl RefUnwindSafe for DimensionCount
impl Send for DimensionCount
impl Sync for DimensionCount
impl Unpin for DimensionCount
impl UnsafeUnpin for DimensionCount
impl UnwindSafe for DimensionCount
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