pub struct NonValueI32<const N: i32>(/* private fields */);Expand description
Implementations§
Trait Implementations§
Source§impl<const N: i32> Binary for NonValueI32<N>
impl<const N: i32> Binary for NonValueI32<N>
Source§impl BitAnd for NonValueI32<{ i32::MAX }>
impl BitAnd for NonValueI32<{ i32::MAX }>
Source§impl BitAndAssign for NonValueI32<{ i32::MAX }>
impl BitAndAssign for NonValueI32<{ i32::MAX }>
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl<const N: i32> Clone for NonValueI32<N>
impl<const N: i32> Clone for NonValueI32<N>
impl<const N: i32> Copy for NonValueI32<N>
Source§impl<const N: i32> Debug for NonValueI32<N>
impl<const N: i32> Debug for NonValueI32<N>
Source§impl Default for NonValueI32<{ i32::MAX }>
impl Default for NonValueI32<{ i32::MAX }>
Source§impl<'de, const N: i32> Deserialize<'de> for NonValueI32<N>
Available on crate feature serde only.
impl<'de, const N: i32> Deserialize<'de> for NonValueI32<N>
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl<const N: i32> Display for NonValueI32<N>
impl<const N: i32> Display for NonValueI32<N>
impl<const N: i32> Eq for NonValueI32<N>
Source§impl<const N: i32> From<NonValueI32<N>> for i32
impl<const N: i32> From<NonValueI32<N>> for i32
Source§fn from(value: NonValueI32<N>) -> Self
fn from(value: NonValueI32<N>) -> Self
Converts to this type from the input type.
Source§impl From<NonValueI32<{ $prim::MAX }>> for NonMaxI64
impl From<NonValueI32<{ $prim::MAX }>> for NonMaxI64
Source§impl From<NonValueI32<{ $prim::MAX }>> for NonMaxI128
impl From<NonValueI32<{ $prim::MAX }>> for NonMaxI128
Source§impl<const N: i32> FromStr for NonValueI32<N>
impl<const N: i32> FromStr for NonValueI32<N>
Source§impl<const N: i32> Hash for NonValueI32<N>
impl<const N: i32> Hash for NonValueI32<N>
Source§impl<const N: i32> LowerHex for NonValueI32<N>
impl<const N: i32> LowerHex for NonValueI32<N>
Source§impl<const N: i32> Octal for NonValueI32<N>
impl<const N: i32> Octal for NonValueI32<N>
Source§impl<const N: i32> Ord for NonValueI32<N>
impl<const N: i32> Ord for NonValueI32<N>
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<const N: i32> PartialEq for NonValueI32<N>
impl<const N: i32> PartialEq for NonValueI32<N>
Source§impl<const N: i32> PartialOrd for NonValueI32<N>
impl<const N: i32> PartialOrd for NonValueI32<N>
Source§impl<const N: i32> Serialize for NonValueI32<N>
Available on crate feature serde only.
impl<const N: i32> Serialize for NonValueI32<N>
Available on crate feature
serde only.impl<const N: i32> StructuralPartialEq for NonValueI32<N>
Auto Trait Implementations§
impl<const N: i32> Forget for NonValueI32<N>
impl<const N: i32> Freeze for NonValueI32<N>
impl<const N: i32> Move for NonValueI32<N>
impl<const N: i32> RefUnwindSafe for NonValueI32<N>
impl<const N: i32> Send for NonValueI32<N>
impl<const N: i32> Sync for NonValueI32<N>
impl<const N: i32> Unpin for NonValueI32<N>
impl<const N: i32> UnsafeUnpin for NonValueI32<N>where
NonZeroI32Inner: UnsafeUnpin,
impl<const N: i32> UnwindSafe for NonValueI32<N>
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