pub enum StrideConstraint {
ExactBytes(u64),
Symbol(String),
}Variants§
Trait Implementations§
Source§impl Clone for StrideConstraint
impl Clone for StrideConstraint
Source§fn clone(&self) -> StrideConstraint
fn clone(&self) -> StrideConstraint
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 StrideConstraint
impl Debug for StrideConstraint
Source§impl<'de> Deserialize<'de> for StrideConstraint
impl<'de> Deserialize<'de> for StrideConstraint
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 StrideConstraint
Source§impl Hash for StrideConstraint
impl Hash for StrideConstraint
Source§impl Ord for StrideConstraint
impl Ord for StrideConstraint
Source§fn cmp(&self, other: &StrideConstraint) -> Ordering
fn cmp(&self, other: &StrideConstraint) -> 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 StrideConstraint
impl PartialEq for StrideConstraint
Source§impl PartialOrd for StrideConstraint
impl PartialOrd for StrideConstraint
Source§impl Serialize for StrideConstraint
impl Serialize for StrideConstraint
impl StructuralPartialEq for StrideConstraint
Auto Trait Implementations§
impl Freeze for StrideConstraint
impl RefUnwindSafe for StrideConstraint
impl Send for StrideConstraint
impl Sync for StrideConstraint
impl Unpin for StrideConstraint
impl UnsafeUnpin for StrideConstraint
impl UnwindSafe for StrideConstraint
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