Struct sosecrets_rs::types::NumericalZeroSizedType
source · 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
§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.§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§const ZERO: Self::Output = _
const ZERO: Self::Output = _
The additive identity of the type
Self::Output, e.g. 0_usize, 0_u32.source§const ONE: Self::Output = _
const ONE: Self::Output = _
The multiplicative identity of the type
Self::Output, e.g. 1_usize, 1_u32.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 copy 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§fn eq(&self, other: &NumericalZeroSizedType) -> bool
fn eq(&self, other: &NumericalZeroSizedType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for NumericalZeroSizedType
impl PartialOrd for NumericalZeroSizedType
source§fn partial_cmp(&self, other: &NumericalZeroSizedType) -> Option<Ordering>
fn partial_cmp(&self, other: &NumericalZeroSizedType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl 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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)