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