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
Source§fn clone(&self) -> DimensionCount
fn clone(&self) -> DimensionCount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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
Source§fn cmp(&self, other: &DimensionCount) -> Ordering
fn cmp(&self, other: &DimensionCount) -> Ordering
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
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