pub enum DimensionConstraint {
Exact(u64),
Symbol(String),
Range {
minimum: u64,
maximum: u64,
},
}Variants§
Trait Implementations§
Source§impl Clone for DimensionConstraint
impl Clone for DimensionConstraint
Source§fn clone(&self) -> DimensionConstraint
fn clone(&self) -> DimensionConstraint
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 moreSource§impl Debug for DimensionConstraint
impl Debug for DimensionConstraint
Source§impl<'de> Deserialize<'de> for DimensionConstraint
impl<'de> Deserialize<'de> for DimensionConstraint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DimensionConstraint
Source§impl Hash for DimensionConstraint
impl Hash for DimensionConstraint
Source§impl Ord for DimensionConstraint
impl Ord for DimensionConstraint
Source§fn cmp(&self, other: &DimensionConstraint) -> Ordering
fn cmp(&self, other: &DimensionConstraint) -> 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
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 DimensionConstraint
impl PartialEq for DimensionConstraint
Source§impl PartialOrd for DimensionConstraint
impl PartialOrd for DimensionConstraint
Source§impl Serialize for DimensionConstraint
impl Serialize for DimensionConstraint
impl StructuralPartialEq for DimensionConstraint
Auto Trait Implementations§
impl Freeze for DimensionConstraint
impl RefUnwindSafe for DimensionConstraint
impl Send for DimensionConstraint
impl Sync for DimensionConstraint
impl Unpin for DimensionConstraint
impl UnsafeUnpin for DimensionConstraint
impl UnwindSafe for DimensionConstraint
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