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