pub struct NumericalZeroSizedType {}Trait Implementations§
Source§impl Add for NumericalZeroSizedType
impl Add for NumericalZeroSizedType
Source§impl AddAssign for NumericalZeroSizedType
impl AddAssign for NumericalZeroSizedType
Source§fn add_assign(&mut self, _other: Self)
fn add_assign(&mut self, _other: Self)
Performs the
+= operation. Read moreSource§impl ChooseMinimallyRepresentableUInt for NumericalZeroSizedType
impl ChooseMinimallyRepresentableUInt for NumericalZeroSizedType
Source§const ONE: Self::Output
const ONE: Self::Output
The multiplicative identity of the type
Self::Output, e.g. 1_usize, 1_u32.Source§type Output = NumericalZeroSizedType
type Output = NumericalZeroSizedType
The Rust’s primitive unsigned integer type that is minimally representable of the unsigned integer represented at the type level by
Self.
e.g. If Self is typenum::consts::U69, then Self::Output is u8.Source§type AtomicOutput = NumericalZeroSizedType
type AtomicOutput = NumericalZeroSizedType
Currently, a placeholder for future feature of this crate. Safe to put a placeholder here because this is a ‘Sealed’ trait.
Source§fn cast_unsigned_to_self_type<T: Unsigned>(_: SealedToken) -> Self::Output
fn cast_unsigned_to_self_type<T: Unsigned>(_: SealedToken) -> Self::Output
A convenient method to convert the unsigned integer represented at the type level by
Self to a value of type Self::Output.
e.g. converting from typenum::consts::U69 to 69_u8.Source§impl Clone for NumericalZeroSizedType
impl Clone for NumericalZeroSizedType
Source§fn clone(&self) -> NumericalZeroSizedType
fn clone(&self) -> NumericalZeroSizedType
Returns a duplicate of the value. Read more
1.0.0 · 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 NumericalZeroSizedType
impl Debug for NumericalZeroSizedType
Source§impl Default for NumericalZeroSizedType
impl Default for NumericalZeroSizedType
Source§fn default() -> NumericalZeroSizedType
fn default() -> NumericalZeroSizedType
Returns the “default value” for a type. Read more
Source§impl Display for NumericalZeroSizedType
impl Display for NumericalZeroSizedType
Source§impl Hash for NumericalZeroSizedType
impl Hash for NumericalZeroSizedType
Source§impl Ord for NumericalZeroSizedType
impl Ord for NumericalZeroSizedType
Source§fn cmp(&self, other: &NumericalZeroSizedType) -> Ordering
fn cmp(&self, other: &NumericalZeroSizedType) -> Ordering
1.21.0 · 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 NumericalZeroSizedType
impl PartialEq for NumericalZeroSizedType
Source§impl PartialOrd for NumericalZeroSizedType
impl PartialOrd for NumericalZeroSizedType
impl Copy for NumericalZeroSizedType
impl Eq for NumericalZeroSizedType
impl StructuralPartialEq for NumericalZeroSizedType
Auto Trait Implementations§
impl Freeze for NumericalZeroSizedType
impl RefUnwindSafe for NumericalZeroSizedType
impl Send for NumericalZeroSizedType
impl Sync for NumericalZeroSizedType
impl Unpin for NumericalZeroSizedType
impl UnwindSafe for NumericalZeroSizedType
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