pub struct NonValueU128<const N: u128>(/* private fields */);Expand description
Implementations§
Trait Implementations§
Source§impl<const N: u128> Binary for NonValueU128<N>
impl<const N: u128> Binary for NonValueU128<N>
Source§impl BitAnd for NonValueU128<{ u128::MAX }>
impl BitAnd for NonValueU128<{ u128::MAX }>
Source§impl BitAnd<NonValueU128<{ $prim::MAX }>> for u128
impl BitAnd<NonValueU128<{ $prim::MAX }>> for u128
Source§type Output = NonValueU128<{ $prim::MAX }>
type Output = NonValueU128<{ $prim::MAX }>
The resulting type after applying the
& operator.Source§impl BitAnd<u128> for NonValueU128<{ u128::MAX }>
impl BitAnd<u128> for NonValueU128<{ u128::MAX }>
Source§impl BitAndAssign for NonValueU128<{ u128::MAX }>
impl BitAndAssign for NonValueU128<{ u128::MAX }>
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitAndAssign<NonValueU128<{ $prim::MAX }>> for u128
impl BitAndAssign<NonValueU128<{ $prim::MAX }>> for u128
Source§fn bitand_assign(&mut self, rhs: NonValueU128<{ u128::MAX }>)
fn bitand_assign(&mut self, rhs: NonValueU128<{ u128::MAX }>)
Performs the
&= operation. Read moreSource§impl BitAndAssign<u128> for NonValueU128<{ u128::MAX }>
impl BitAndAssign<u128> for NonValueU128<{ u128::MAX }>
Source§fn bitand_assign(&mut self, rhs: u128)
fn bitand_assign(&mut self, rhs: u128)
Performs the
&= operation. Read moreSource§impl<const N: u128> Clone for NonValueU128<N>
impl<const N: u128> Clone for NonValueU128<N>
impl<const N: u128> Copy for NonValueU128<N>
Source§impl<const N: u128> Debug for NonValueU128<N>
impl<const N: u128> Debug for NonValueU128<N>
Source§impl Default for NonValueU128<{ u128::MAX }>
impl Default for NonValueU128<{ u128::MAX }>
Source§impl<'de, const N: u128> Deserialize<'de> for NonValueU128<N>
Available on crate feature serde only.
impl<'de, const N: u128> Deserialize<'de> for NonValueU128<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: u128> Display for NonValueU128<N>
impl<const N: u128> Display for NonValueU128<N>
impl<const N: u128> Eq for NonValueU128<N>
Source§impl From<NonValueU128<0>> for NonZeroU128
impl From<NonValueU128<0>> for NonZeroU128
Source§fn from(value: NonValueU128<0>) -> Self
fn from(value: NonValueU128<0>) -> Self
Converts to this type from the input type.
Source§impl<const N: u128> From<NonValueU128<N>> for u128
impl<const N: u128> From<NonValueU128<N>> for u128
Source§fn from(value: NonValueU128<N>) -> Self
fn from(value: NonValueU128<N>) -> Self
Converts to this type from the input type.
Source§impl From<NonZero<u128>> for NonValueU128<0>
impl From<NonZero<u128>> for NonValueU128<0>
Source§fn from(value: NonZeroU128) -> Self
fn from(value: NonZeroU128) -> Self
Converts to this type from the input type.
Source§impl<const N: u128> FromStr for NonValueU128<N>
impl<const N: u128> FromStr for NonValueU128<N>
Source§impl<const N: u128> Hash for NonValueU128<N>
impl<const N: u128> Hash for NonValueU128<N>
Source§impl<const N: u128> LowerHex for NonValueU128<N>
impl<const N: u128> LowerHex for NonValueU128<N>
Source§impl<const N: u128> Octal for NonValueU128<N>
impl<const N: u128> Octal for NonValueU128<N>
Source§impl<const N: u128> Ord for NonValueU128<N>
impl<const N: u128> Ord for NonValueU128<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: u128> PartialEq for NonValueU128<N>
impl<const N: u128> PartialEq for NonValueU128<N>
Source§impl<const N: u128> PartialOrd for NonValueU128<N>
impl<const N: u128> PartialOrd for NonValueU128<N>
Source§impl<const N: u128> Serialize for NonValueU128<N>
Available on crate feature serde only.
impl<const N: u128> Serialize for NonValueU128<N>
Available on crate feature
serde only.impl<const N: u128> StructuralPartialEq for NonValueU128<N>
Auto Trait Implementations§
impl<const N: u128> Forget for NonValueU128<N>
impl<const N: u128> Freeze for NonValueU128<N>
impl<const N: u128> Move for NonValueU128<N>
impl<const N: u128> RefUnwindSafe for NonValueU128<N>
impl<const N: u128> Send for NonValueU128<N>
impl<const N: u128> Sync for NonValueU128<N>
impl<const N: u128> Unpin for NonValueU128<N>
impl<const N: u128> UnsafeUnpin for NonValueU128<N>where
NonZeroU128Inner: UnsafeUnpin,
impl<const N: u128> UnwindSafe for NonValueU128<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