pub enum BoundaryDimensionContract {
Variable {
maximum: usize,
},
Fixed(usize),
}Expand description
One manifest-selected boundary dimension constraint.
Variants§
Variable
Invocation dimension bounded by the admitted maximum.
Fixed(usize)
Architecture dimension that must match exactly.
Trait Implementations§
Source§impl Clone for BoundaryDimensionContract
impl Clone for BoundaryDimensionContract
Source§fn clone(&self) -> BoundaryDimensionContract
fn clone(&self) -> BoundaryDimensionContract
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 BoundaryDimensionContract
Source§impl Debug for BoundaryDimensionContract
impl Debug for BoundaryDimensionContract
Source§impl<'de> Deserialize<'de> for BoundaryDimensionContract
impl<'de> Deserialize<'de> for BoundaryDimensionContract
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 BoundaryDimensionContract
impl StructuralPartialEq for BoundaryDimensionContract
Auto Trait Implementations§
impl Freeze for BoundaryDimensionContract
impl RefUnwindSafe for BoundaryDimensionContract
impl Send for BoundaryDimensionContract
impl Sync for BoundaryDimensionContract
impl Unpin for BoundaryDimensionContract
impl UnsafeUnpin for BoundaryDimensionContract
impl UnwindSafe for BoundaryDimensionContract
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