Struct Overflowing

Source
pub struct Overflowing<T>(T);
Expand description

Overflowing number. Operations panic on overflow, even in release mode.

The ore_overflowing_behavior feature flag can be used to control the overflow behavior:

  • panic: panic on overflow (default when debug assertions are enabled).
  • soft_panic: log a warning on overflow, or panic, depending on whether soft assertions are enbaled.
  • ignore: ignore overflow (default when debug assertions are disabled). The default value is panic when debug_assertions are enabled, or ignore otherwise.

The non-aborting modes simply return the result of the operation, which can include overflows.

Tuple Fields§

§0: T

Implementations§

Source§

impl<T> Overflowing<T>

Source

pub fn into_inner(self) -> T

Returns the inner value.

Source§

impl Overflowing<u8>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<u16>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<u32>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<u64>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<u128>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<i8>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<i8>

Source

pub const MINUS_ONE: Self

The value minus one.

Source

pub fn abs(self) -> Self

Returns the absolute value of the number.

Source

pub fn unsigned_abs(self) -> u8

Returns the absolute value of the number as an unsigned integer.

Source

pub fn is_positive(self) -> bool

Returns true if the number is positive and false if the number is zero or negative.

§Examples
assert!(!Overflowing::<i64>::from(-10i32).is_positive());
assert!(Overflowing::<i64>::from(10i32).is_positive());
Source

pub fn is_negative(self) -> bool

Returns true if the number is negative and false if the number is zero or positive.

§Examples
assert!(Overflowing::<i64>::from(-10i32).is_negative());
assert!(!Overflowing::<i64>::from(10i32).is_negative());
Source§

impl Overflowing<i16>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<i16>

Source

pub const MINUS_ONE: Self

The value minus one.

Source

pub fn abs(self) -> Self

Returns the absolute value of the number.

Source

pub fn unsigned_abs(self) -> u16

Returns the absolute value of the number as an unsigned integer.

Source

pub fn is_positive(self) -> bool

Returns true if the number is positive and false if the number is zero or negative.

§Examples
assert!(!Overflowing::<i64>::from(-10i32).is_positive());
assert!(Overflowing::<i64>::from(10i32).is_positive());
Source

pub fn is_negative(self) -> bool

Returns true if the number is negative and false if the number is zero or positive.

§Examples
assert!(Overflowing::<i64>::from(-10i32).is_negative());
assert!(!Overflowing::<i64>::from(10i32).is_negative());
Source§

impl Overflowing<i32>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<i32>

Source

pub const MINUS_ONE: Self

The value minus one.

Source

pub fn abs(self) -> Self

Returns the absolute value of the number.

Source

pub fn unsigned_abs(self) -> u32

Returns the absolute value of the number as an unsigned integer.

Source

pub fn is_positive(self) -> bool

Returns true if the number is positive and false if the number is zero or negative.

§Examples
assert!(!Overflowing::<i64>::from(-10i32).is_positive());
assert!(Overflowing::<i64>::from(10i32).is_positive());
Source

pub fn is_negative(self) -> bool

Returns true if the number is negative and false if the number is zero or positive.

§Examples
assert!(Overflowing::<i64>::from(-10i32).is_negative());
assert!(!Overflowing::<i64>::from(10i32).is_negative());
Source§

impl Overflowing<i64>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<i64>

Source

pub const MINUS_ONE: Self

The value minus one.

Source

pub fn abs(self) -> Self

Returns the absolute value of the number.

Source

pub fn unsigned_abs(self) -> u64

Returns the absolute value of the number as an unsigned integer.

Source

pub fn is_positive(self) -> bool

Returns true if the number is positive and false if the number is zero or negative.

§Examples
assert!(!Overflowing::<i64>::from(-10i32).is_positive());
assert!(Overflowing::<i64>::from(10i32).is_positive());
Source

pub fn is_negative(self) -> bool

Returns true if the number is negative and false if the number is zero or positive.

§Examples
assert!(Overflowing::<i64>::from(-10i32).is_negative());
assert!(!Overflowing::<i64>::from(10i32).is_negative());
Source§

impl Overflowing<i128>

Source

pub const ZERO: Self

The value zero.

Source

pub const ONE: Self

The value one.

Source

pub const MIN: Self

The minimum value.

Source

pub const MAX: Self

The maximum value.

Source

pub fn checked_add(self, rhs: Self) -> Option<Self>

Checked addition. Returns None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping addition.

Source

pub fn checked_mul(self, rhs: Self) -> Option<Self>

Checked multiplication. Returns None if overflow occurred.

Source

pub fn wrapping_mul(self, rhs: Self) -> Self

Wrapping multiplication.

Source

pub fn is_zero(self) -> bool

Returns true if the number is zero.

Source§

impl Overflowing<i128>

Source

pub const MINUS_ONE: Self

The value minus one.

Source

pub fn abs(self) -> Self

Returns the absolute value of the number.

Source

pub fn unsigned_abs(self) -> u128

Returns the absolute value of the number as an unsigned integer.

Source

pub fn is_positive(self) -> bool

Returns true if the number is positive and false if the number is zero or negative.

§Examples
assert!(!Overflowing::<i64>::from(-10i32).is_positive());
assert!(Overflowing::<i64>::from(10i32).is_positive());
Source

pub fn is_negative(self) -> bool

Returns true if the number is negative and false if the number is zero or positive.

§Examples
assert!(Overflowing::<i64>::from(-10i32).is_negative());
assert!(!Overflowing::<i64>::from(10i32).is_negative());

Trait Implementations§

Source§

impl<'a> Add<&'a Overflowing<i128>> for Overflowing<i128>

Source§

type Output = Overflowing<i128>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<i16>> for Overflowing<i16>

Source§

type Output = Overflowing<i16>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<i32>> for Overflowing<i32>

Source§

type Output = Overflowing<i32>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<i64>> for Overflowing<i64>

Source§

type Output = Overflowing<i64>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<i8>> for Overflowing<i8>

Source§

type Output = Overflowing<i8>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<u128>> for Overflowing<u128>

Source§

type Output = Overflowing<u128>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<u16>> for Overflowing<u16>

Source§

type Output = Overflowing<u16>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<u32>> for Overflowing<u32>

Source§

type Output = Overflowing<u32>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<u64>> for Overflowing<u64>

Source§

type Output = Overflowing<u64>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a Overflowing<u8>> for Overflowing<u8>

Source§

type Output = Overflowing<u8>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<i128>

Source§

type Output = Overflowing<i128>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<i16>

Source§

type Output = Overflowing<i16>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<i32>

Source§

type Output = Overflowing<i32>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<i64>

Source§

type Output = Overflowing<i64>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<i8>

Source§

type Output = Overflowing<i8>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<u128>

Source§

type Output = Overflowing<u128>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<u16>

Source§

type Output = Overflowing<u16>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<u32>

Source§

type Output = Overflowing<u32>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<u64>

Source§

type Output = Overflowing<u64>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Overflowing<u8>

Source§

type Output = Overflowing<u8>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl AddAssign<&Overflowing<i128>> for Overflowing<i128>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<i16>> for Overflowing<i16>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<i32>> for Overflowing<i32>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<i64>> for Overflowing<i64>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<i8>> for Overflowing<i8>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<u128>> for Overflowing<u128>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<u16>> for Overflowing<u16>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<u32>> for Overflowing<u32>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<u64>> for Overflowing<u64>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Overflowing<u8>> for Overflowing<u8>

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<i128>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<i16>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<i32>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<i64>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<i8>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<u128>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<u16>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<u32>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<u64>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign for Overflowing<u8>

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl<T: Arbitrary> Arbitrary for Overflowing<T>

Source§

type Parameters = <T as Arbitrary>::Parameters

The type of parameters that arbitrary_with accepts for configuration of the generated Strategy. Parameters must implement Default.
Source§

type Strategy = Map<<T as Arbitrary>::Strategy, fn(_: T) -> Overflowing<T>>

The type of Strategy used to generate values of type Self.
Source§

fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more
Source§

fn arbitrary() -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). Read more
Source§

impl<T> CastFrom<T> for Overflowing<i128>
where i128: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<i16>
where i16: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<i32>
where i32: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<i64>
where i64: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<i8>
where i8: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<u128>
where u128: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<u16>
where u16: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<u32>
where u32: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<u64>
where u64: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T> CastFrom<T> for Overflowing<u8>
where u8: CastFrom<T>,

Source§

fn cast_from(value: T) -> Self

Performs the cast.
Source§

impl<T: Clone> Clone for Overflowing<T>

Source§

fn clone(&self) -> Overflowing<T>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Columnar + Copy + Send> Columnar for Overflowing<T>
where Vec<T>: Container<T>, Overflowing<T>: From<T>, for<'a> <T as Columnar>::Ref<'a>: CopyAs<T>,

Source§

type Ref<'a> = Overflowing<T>

For each lifetime, a reference with that lifetime. Read more
Source§

type Container = Overflows<T, Vec<T>>

The type that stores the columnar representation. Read more
Source§

fn into_owned<'a>(other: Self::Ref<'a>) -> Self

Produce an instance of Self from Self::Ref<'a>.
Source§

fn copy_from<'a>(&mut self, other: Self::Ref<'a>)
where Self: Sized,

Repopulates self from a reference. Read more
Source§

fn as_columns<'a, I>(selves: I) -> Self::Container
where I: IntoIterator<Item = &'a Self>, Self: 'a,

Converts a sequence of the references to the type into columnar form.
Source§

fn into_columns<I>(selves: I) -> Self::Container
where I: IntoIterator<Item = Self>, Self: Sized,

Converts a sequence of the type into columnar form. Read more
Source§

impl Columnation for Overflowing<i128>

Source§

type InnerRegion = CopyRegion<Overflowing<i128>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<i16>

Source§

type InnerRegion = CopyRegion<Overflowing<i16>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<i32>

Source§

type InnerRegion = CopyRegion<Overflowing<i32>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<i64>

Source§

type InnerRegion = CopyRegion<Overflowing<i64>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<i8>

Source§

type InnerRegion = CopyRegion<Overflowing<i8>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<u128>

Source§

type InnerRegion = CopyRegion<Overflowing<u128>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<u16>

Source§

type InnerRegion = CopyRegion<Overflowing<u16>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<u32>

Source§

type InnerRegion = CopyRegion<Overflowing<u32>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<u64>

Source§

type InnerRegion = CopyRegion<Overflowing<u64>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl Columnation for Overflowing<u8>

Source§

type InnerRegion = CopyRegion<Overflowing<u8>>

The type of region capable of absorbing allocations owned by the Self type. Note: not allocations of Self, but of the things that it owns.
Source§

impl<T: Columnar + Copy + Send, TC: Container<T>> Container<Overflowing<T>> for Overflows<T, TC>
where Vec<T>: Container<T>, Overflowing<T>: From<T>, for<'a> <T as Columnar>::Ref<'a>: CopyAs<T>,

Source§

type Borrowed<'a> = Overflows<T, <TC as Container<T>>::Borrowed<'a>> where Self: 'a

The type of a borrowed container. Read more
Source§

fn borrow<'a>(&'a self) -> Self::Borrowed<'a>

Converts a reference to the type to a borrowed variant.
Source§

impl<T: Debug> Debug for Overflowing<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: Default> Default for Overflowing<T>

Source§

fn default() -> Overflowing<T>

Returns the “default value” for a type. Read more
Source§

impl<'de, T> Deserialize<'de> for Overflowing<T>
where T: Deserialize<'de>,

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Abelian for Overflowing<i128>

Source§

fn negate(&mut self)

The method of std::ops::Neg, for types that do not implement Neg.
Source§

impl Abelian for Overflowing<i16>

Source§

fn negate(&mut self)

The method of std::ops::Neg, for types that do not implement Neg.
Source§

impl Abelian for Overflowing<i32>

Source§

fn negate(&mut self)

The method of std::ops::Neg, for types that do not implement Neg.
Source§

impl Abelian for Overflowing<i64>

Source§

fn negate(&mut self)

The method of std::ops::Neg, for types that do not implement Neg.
Source§

impl Abelian for Overflowing<i8>

Source§

fn negate(&mut self)

The method of std::ops::Neg, for types that do not implement Neg.
Source§

impl<T: Display> Display for Overflowing<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div for Overflowing<i128>

Source§

type Output = Overflowing<<i128 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<i16>

Source§

type Output = Overflowing<<i16 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<i32>

Source§

type Output = Overflowing<<i32 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<i64>

Source§

type Output = Overflowing<<i64 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<i8>

Source§

type Output = Overflowing<<i8 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<u128>

Source§

type Output = Overflowing<<u128 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<u16>

Source§

type Output = Overflowing<<u16 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<u32>

Source§

type Output = Overflowing<<u32 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<u64>

Source§

type Output = Overflowing<<u64 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Overflowing<u8>

Source§

type Output = Overflowing<<u8 as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl From<Overflowing<bool>> for Overflowing<i128>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<i16>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<i32>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<i64>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<i8>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<u128>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<u16>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<u32>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<u64>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<bool>> for Overflowing<u8>

Source§

fn from(value: Overflowing<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i16>> for Overflowing<i128>

Source§

fn from(value: Overflowing<i16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i16>> for Overflowing<i32>

Source§

fn from(value: Overflowing<i16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i16>> for Overflowing<i64>

Source§

fn from(value: Overflowing<i16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i32>> for Overflowing<i128>

Source§

fn from(value: Overflowing<i32>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i32>> for Overflowing<i64>

Source§

fn from(value: Overflowing<i32>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i64>> for Overflowing<i128>

Source§

fn from(value: Overflowing<i64>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i8>> for Overflowing<i128>

Source§

fn from(value: Overflowing<i8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i8>> for Overflowing<i16>

Source§

fn from(value: Overflowing<i8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i8>> for Overflowing<i32>

Source§

fn from(value: Overflowing<i8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<i8>> for Overflowing<i64>

Source§

fn from(value: Overflowing<i8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u16>> for Overflowing<i128>

Source§

fn from(value: Overflowing<u16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u16>> for Overflowing<i32>

Source§

fn from(value: Overflowing<u16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u16>> for Overflowing<i64>

Source§

fn from(value: Overflowing<u16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u16>> for Overflowing<u128>

Source§

fn from(value: Overflowing<u16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u16>> for Overflowing<u32>

Source§

fn from(value: Overflowing<u16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u16>> for Overflowing<u64>

Source§

fn from(value: Overflowing<u16>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u32>> for Overflowing<i128>

Source§

fn from(value: Overflowing<u32>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u32>> for Overflowing<i64>

Source§

fn from(value: Overflowing<u32>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u32>> for Overflowing<u128>

Source§

fn from(value: Overflowing<u32>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u32>> for Overflowing<u64>

Source§

fn from(value: Overflowing<u32>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u64>> for Overflowing<i128>

Source§

fn from(value: Overflowing<u64>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u64>> for Overflowing<u128>

Source§

fn from(value: Overflowing<u64>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u8>> for Overflowing<i128>

Source§

fn from(value: Overflowing<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u8>> for Overflowing<i16>

Source§

fn from(value: Overflowing<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u8>> for Overflowing<i32>

Source§

fn from(value: Overflowing<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u8>> for Overflowing<i64>

Source§

fn from(value: Overflowing<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u8>> for Overflowing<u128>

Source§

fn from(value: Overflowing<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u8>> for Overflowing<u16>

Source§

fn from(value: Overflowing<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u8>> for Overflowing<u32>

Source§

fn from(value: Overflowing<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<Overflowing<u8>> for Overflowing<u64>

Source§

fn from(value: Overflowing<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<i128>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<i16>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<i32>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<i64>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<i8>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<u128>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<u16>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<u32>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<u64>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Overflowing<u8>

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<i128> for Overflowing<i128>

Source§

fn from(value: i128) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Overflowing<i128>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Overflowing<i16>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Overflowing<i32>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Overflowing<i64>

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Overflowing<i128>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Overflowing<i32>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Overflowing<i64>

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Overflowing<i128>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Overflowing<i64>

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Overflowing<i128>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Overflowing<i16>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Overflowing<i32>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Overflowing<i64>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Overflowing<i8>

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<u128> for Overflowing<u128>

Source§

fn from(value: u128) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Overflowing<i128>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Overflowing<i32>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Overflowing<i64>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Overflowing<u128>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Overflowing<u16>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Overflowing<u32>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Overflowing<u64>

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Overflowing<i128>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Overflowing<i64>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Overflowing<u128>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Overflowing<u32>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Overflowing<u64>

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Overflowing<i128>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Overflowing<u128>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Overflowing<u64>

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<i128>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<i16>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<i32>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<i64>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<u128>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<u16>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<u32>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<u64>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Overflowing<u8>

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl FromStr for Overflowing<i128>

Source§

type Err = <i128 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<i16>

Source§

type Err = <i16 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<i32>

Source§

type Err = <i32 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<i64>

Source§

type Err = <i64 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<i8>

Source§

type Err = <i8 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<u128>

Source§

type Err = <u128 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<u16>

Source§

type Err = <u16 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<u32>

Source§

type Err = <u32 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<u64>

Source§

type Err = <u64 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl FromStr for Overflowing<u8>

Source§

type Err = <u8 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Overflowing<i128>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<i16>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<i32>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<i64>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<i8>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<u128>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<u16>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<u32>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<u64>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Hash for Overflowing<u8>

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl IsZero for Overflowing<i128>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<i16>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<i32>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<i64>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<i8>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<u128>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<u16>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<u32>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<u64>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl IsZero for Overflowing<u8>

Source§

fn is_zero(&self) -> bool

Returns true if the element is the additive identity. Read more
Source§

impl Monoid for Overflowing<i128>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<i16>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<i32>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<i64>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<i8>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<u128>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<u16>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<u32>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<u64>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Monoid for Overflowing<u8>

Source§

fn zero() -> Self

A zero element under the semigroup addition operator.
Source§

impl Mul for Overflowing<i128>

Source§

type Output = Overflowing<i128>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<i16>

Source§

type Output = Overflowing<i16>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<i32>

Source§

type Output = Overflowing<i32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<i64>

Source§

type Output = Overflowing<i64>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<i8>

Source§

type Output = Overflowing<i8>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<u128>

Source§

type Output = Overflowing<u128>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<u16>

Source§

type Output = Overflowing<u16>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<u32>

Source§

type Output = Overflowing<u32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<u64>

Source§

type Output = Overflowing<u64>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Overflowing<u8>

Source§

type Output = Overflowing<u8>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Multiply for Overflowing<i128>

Source§

type Output = Overflowing<i128>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<i16>

Source§

type Output = Overflowing<i16>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<i32>

Source§

type Output = Overflowing<i32>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<i64>

Source§

type Output = Overflowing<i64>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<i8>

Source§

type Output = Overflowing<i8>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<u128>

Source§

type Output = Overflowing<u128>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<u16>

Source§

type Output = Overflowing<u16>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<u32>

Source§

type Output = Overflowing<u32>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<u64>

Source§

type Output = Overflowing<u64>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Multiply for Overflowing<u8>

Source§

type Output = Overflowing<u8>

Output type per the Mul trait.
Source§

fn multiply(self, rhs: &Self) -> Self::Output

Core method per the Mul trait.
Source§

impl Neg for &Overflowing<i128>

Source§

type Output = Overflowing<<i128 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for &Overflowing<i16>

Source§

type Output = Overflowing<<i16 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for &Overflowing<i32>

Source§

type Output = Overflowing<<i32 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for &Overflowing<i64>

Source§

type Output = Overflowing<<i64 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for &Overflowing<i8>

Source§

type Output = Overflowing<<i8 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for Overflowing<i128>

Source§

type Output = Overflowing<<i128 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for Overflowing<i16>

Source§

type Output = Overflowing<<i16 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for Overflowing<i32>

Source§

type Output = Overflowing<<i32 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for Overflowing<i64>

Source§

type Output = Overflowing<<i64 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for Overflowing<i8>

Source§

type Output = Overflowing<<i8 as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Num for Overflowing<i128>

Source§

type FromStrRadixErr = <i128 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<i16>

Source§

type FromStrRadixErr = <i16 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<i32>

Source§

type FromStrRadixErr = <i32 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<i64>

Source§

type FromStrRadixErr = <i64 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<i8>

Source§

type FromStrRadixErr = <i8 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<u128>

Source§

type FromStrRadixErr = <u128 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<u16>

Source§

type FromStrRadixErr = <u16 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<u32>

Source§

type FromStrRadixErr = <u32 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<u64>

Source§

type FromStrRadixErr = <u64 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl Num for Overflowing<u8>

Source§

type FromStrRadixErr = <u8 as Num>::FromStrRadixErr

Source§

fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl One for Overflowing<i128>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<i16>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<i32>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<i64>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<i8>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<u128>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<u16>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<u32>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<u64>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl One for Overflowing<u8>

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl<T: Ord> Ord for Overflowing<T>

Source§

fn cmp(&self, other: &Overflowing<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl<T: PartialEq> PartialEq for Overflowing<T>

Source§

fn eq(&self, other: &Overflowing<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialOrd> PartialOrd for Overflowing<T>

Source§

fn partial_cmp(&self, other: &Overflowing<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<T: Copy, TC: Push<T>> Push<&Overflowing<T>> for Overflows<T, TC>

Source§

fn push(&mut self, item: &Overflowing<T>)

Pushes an item onto self.
Source§

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Pushes elements of an iterator onto self.
Source§

impl<T: Copy, TC: Push<T>> Push<Overflowing<T>> for Overflows<T, TC>

Source§

fn push(&mut self, item: Overflowing<T>)

Pushes an item onto self.
Source§

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Pushes elements of an iterator onto self.
Source§

impl Rem for Overflowing<i128>

Source§

type Output = Overflowing<<i128 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<i16>

Source§

type Output = Overflowing<<i16 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<i32>

Source§

type Output = Overflowing<<i32 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<i64>

Source§

type Output = Overflowing<<i64 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<i8>

Source§

type Output = Overflowing<<i8 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<u128>

Source§

type Output = Overflowing<<u128 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<u16>

Source§

type Output = Overflowing<<u16 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<u32>

Source§

type Output = Overflowing<<u32 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<u64>

Source§

type Output = Overflowing<<u64 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Overflowing<u8>

Source§

type Output = Overflowing<<u8 as Rem>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Semigroup for Overflowing<i128>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<i16>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<i32>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<i64>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<i8>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<u128>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<u16>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<u32>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<u64>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl Semigroup for Overflowing<u8>

Source§

fn plus_equals(&mut self, rhs: &Self)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl<T> Serialize for Overflowing<T>
where T: Serialize,

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Signed for Overflowing<i128>

Source§

fn abs(&self) -> Self

Computes the absolute value. Read more
Source§

fn abs_sub(&self, other: &Self) -> Self

The positive difference of two numbers. Read more
Source§

fn signum(&self) -> Self

Returns the sign of the number. Read more
Source§

fn is_positive(&self) -> bool

Returns true if the number is positive and false if the number is zero or negative.
Source§

fn is_negative(&self) -> bool

Returns true if the number is negative and false if the number is zero or positive.
Source§

impl Signed for Overflowing<i16>

Source§

fn abs(&self) -> Self

Computes the absolute value. Read more
Source§

fn abs_sub(&self, other: &Self) -> Self

The positive difference of two numbers. Read more
Source§

fn signum(&self) -> Self

Returns the sign of the number. Read more
Source§

fn is_positive(&self) -> bool

Returns true if the number is positive and false if the number is zero or negative.
Source§

fn is_negative(&self) -> bool

Returns true if the number is negative and false if the number is zero or positive.
Source§

impl Signed for Overflowing<i32>

Source§

fn abs(&self) -> Self

Computes the absolute value. Read more
Source§

fn abs_sub(&self, other: &Self) -> Self

The positive difference of two numbers. Read more
Source§

fn signum(&self) -> Self

Returns the sign of the number. Read more
Source§

fn is_positive(&self) -> bool

Returns true if the number is positive and false if the number is zero or negative.
Source§

fn is_negative(&self) -> bool

Returns true if the number is negative and false if the number is zero or positive.
Source§

impl Signed for Overflowing<i64>

Source§

fn abs(&self) -> Self

Computes the absolute value. Read more
Source§

fn abs_sub(&self, other: &Self) -> Self

The positive difference of two numbers. Read more
Source§

fn signum(&self) -> Self

Returns the sign of the number. Read more
Source§

fn is_positive(&self) -> bool

Returns true if the number is positive and false if the number is zero or negative.
Source§

fn is_negative(&self) -> bool

Returns true if the number is negative and false if the number is zero or positive.
Source§

impl Signed for Overflowing<i8>

Source§

fn abs(&self) -> Self

Computes the absolute value. Read more
Source§

fn abs_sub(&self, other: &Self) -> Self

The positive difference of two numbers. Read more
Source§

fn signum(&self) -> Self

Returns the sign of the number. Read more
Source§

fn is_positive(&self) -> bool

Returns true if the number is positive and false if the number is zero or negative.
Source§

fn is_negative(&self) -> bool

Returns true if the number is negative and false if the number is zero or positive.
Source§

impl<'a> Sub<&'a Overflowing<i128>> for Overflowing<i128>

Source§

type Output = Overflowing<i128>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<i16>> for Overflowing<i16>

Source§

type Output = Overflowing<i16>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<i32>> for Overflowing<i32>

Source§

type Output = Overflowing<i32>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<i64>> for Overflowing<i64>

Source§

type Output = Overflowing<i64>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<i8>> for Overflowing<i8>

Source§

type Output = Overflowing<i8>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<u128>> for Overflowing<u128>

Source§

type Output = Overflowing<u128>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<u16>> for Overflowing<u16>

Source§

type Output = Overflowing<u16>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<u32>> for Overflowing<u32>

Source§

type Output = Overflowing<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<u64>> for Overflowing<u64>

Source§

type Output = Overflowing<u64>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a Overflowing<u8>> for Overflowing<u8>

Source§

type Output = Overflowing<u8>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<i128>

Source§

type Output = Overflowing<i128>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<i16>

Source§

type Output = Overflowing<i16>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<i32>

Source§

type Output = Overflowing<i32>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<i64>

Source§

type Output = Overflowing<i64>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<i8>

Source§

type Output = Overflowing<i8>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<u128>

Source§

type Output = Overflowing<u128>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<u16>

Source§

type Output = Overflowing<u16>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<u32>

Source§

type Output = Overflowing<u32>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<u64>

Source§

type Output = Overflowing<u64>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Overflowing<u8>

Source§

type Output = Overflowing<u8>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl SubAssign<&Overflowing<i128>> for Overflowing<i128>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<i16>> for Overflowing<i16>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<i32>> for Overflowing<i32>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<i64>> for Overflowing<i64>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<i8>> for Overflowing<i8>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<u128>> for Overflowing<u128>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<u16>> for Overflowing<u16>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<u32>> for Overflowing<u32>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<u64>> for Overflowing<u64>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Overflowing<u8>> for Overflowing<u8>

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<i128>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<i16>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<i32>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<i64>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<i8>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<u128>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<u16>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<u32>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<u64>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign for Overflowing<u8>

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl<'a> Sum<&'a Overflowing<i128>> for Overflowing<i128>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<i16>> for Overflowing<i16>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<i32>> for Overflowing<i32>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<i64>> for Overflowing<i64>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<i8>> for Overflowing<i8>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<u128>> for Overflowing<u128>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<u16>> for Overflowing<u16>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<u32>> for Overflowing<u32>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<u64>> for Overflowing<u64>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<'a> Sum<&'a Overflowing<u8>> for Overflowing<u8>

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<i128>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<i16>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<i32>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<i64>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<i8>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<u128>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<u16>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<u32>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<u64>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Overflowing<u8>

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i128>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i16>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i16>> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i16>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i16>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i16>> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i16>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i32>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i32>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i32>> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i32>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i32>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i32>> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i32>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i64>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i64>> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i64>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i64>> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i64>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i64>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i64>> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i64>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i8>> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i8>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i8>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i8>> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<i8>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<i128>

Source§

type Error = <i128 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<isize>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<i128>

Source§

type Error = <i128 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u128>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u16>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<u16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u16>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u16>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<u16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u32>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u32>> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u32>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u32>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u32>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u64>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u64>> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u64>> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u64>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u64>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u64>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u64>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<u8>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<i128>

Source§

type Error = <i128 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Overflowing<usize>> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Overflowing<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<i8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<i128>

Source§

type Error = <i128 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<isize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<i128>

Source§

type Error = <i128 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<u128>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u16> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<u16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u16> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u16> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<u16>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<u32>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<u64>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u8> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<u8>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<i128>

Source§

type Error = <i128 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<i16>

Source§

type Error = <i16 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<i32>

Source§

type Error = <i32 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<i64>

Source§

type Error = <i64 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<i8>

Source§

type Error = <i8 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<u128>

Source§

type Error = <u128 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<u16>

Source§

type Error = <u16 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<u32>

Source§

type Error = <u32 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<u64>

Source§

type Error = <u64 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Overflowing<u8>

Source§

type Error = <u8 as TryFrom<usize>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Zero for Overflowing<i128>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<i16>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<i32>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<i64>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<i8>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<u128>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<u16>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<u32>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<u64>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl Zero for Overflowing<u8>

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl<T: Copy> Copy for Overflowing<T>

Source§

impl<T: Eq> Eq for Overflowing<T>

Source§

impl<T> StructuralPartialEq for Overflowing<T>

Auto Trait Implementations§

§

impl<T> Freeze for Overflowing<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Overflowing<T>
where T: RefUnwindSafe,

§

impl<T> Send for Overflowing<T>
where T: Send,

§

impl<T> Sync for Overflowing<T>
where T: Sync,

§

impl<T> Unpin for Overflowing<T>
where T: Unpin,

§

impl<T> UnwindSafe for Overflowing<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

fn cast_into(self) -> U

Performs the cast.
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
Source§

impl<T> CopyAs<T> for T

Source§

fn copy_as(self) -> T

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
Source§

impl<T> Hashable for T
where T: Hash,

Source§

type Output = u64

The type of the output value.
Source§

fn hashed(&self) -> u64

A well-distributed integer derived from the data.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<T> Paint for T
where T: ?Sized,

Source§

fn fg(&self, value: Color) -> Painted<&T>

Returns a styled value derived from self with the foreground set to value.

This method should be used rarely. Instead, prefer to use color-specific builder methods like red() and green(), which have the same functionality but are pithier.

§Example

Set foreground color to white using fg():

use yansi::{Paint, Color};

painted.fg(Color::White);

Set foreground color to white using white().

use yansi::Paint;

painted.white();
Source§

fn primary(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Primary].

§Example
println!("{}", value.primary());
Source§

fn fixed(&self, color: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Fixed].

§Example
println!("{}", value.fixed(color));
Source§

fn rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Rgb].

§Example
println!("{}", value.rgb(r, g, b));
Source§

fn black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Black].

§Example
println!("{}", value.black());
Source§

fn red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Red].

§Example
println!("{}", value.red());
Source§

fn green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Green].

§Example
println!("{}", value.green());
Source§

fn yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Yellow].

§Example
println!("{}", value.yellow());
Source§

fn blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Blue].

§Example
println!("{}", value.blue());
Source§

fn magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Magenta].

§Example
println!("{}", value.magenta());
Source§

fn cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Cyan].

§Example
println!("{}", value.cyan());
Source§

fn white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: White].

§Example
println!("{}", value.white());
Source§

fn bright_black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlack].

§Example
println!("{}", value.bright_black());
Source§

fn bright_red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightRed].

§Example
println!("{}", value.bright_red());
Source§

fn bright_green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightGreen].

§Example
println!("{}", value.bright_green());
Source§

fn bright_yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightYellow].

§Example
println!("{}", value.bright_yellow());
Source§

fn bright_blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlue].

§Example
println!("{}", value.bright_blue());
Source§

fn bright_magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.bright_magenta());
Source§

fn bright_cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightCyan].

§Example
println!("{}", value.bright_cyan());
Source§

fn bright_white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightWhite].

§Example
println!("{}", value.bright_white());
Source§

fn bg(&self, value: Color) -> Painted<&T>

Returns a styled value derived from self with the background set to value.

This method should be used rarely. Instead, prefer to use color-specific builder methods like on_red() and on_green(), which have the same functionality but are pithier.

§Example

Set background color to red using fg():

use yansi::{Paint, Color};

painted.bg(Color::Red);

Set background color to red using on_red().

use yansi::Paint;

painted.on_red();
Source§

fn on_primary(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Primary].

§Example
println!("{}", value.on_primary());
Source§

fn on_fixed(&self, color: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Fixed].

§Example
println!("{}", value.on_fixed(color));
Source§

fn on_rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Rgb].

§Example
println!("{}", value.on_rgb(r, g, b));
Source§

fn on_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Black].

§Example
println!("{}", value.on_black());
Source§

fn on_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Red].

§Example
println!("{}", value.on_red());
Source§

fn on_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Green].

§Example
println!("{}", value.on_green());
Source§

fn on_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Yellow].

§Example
println!("{}", value.on_yellow());
Source§

fn on_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Blue].

§Example
println!("{}", value.on_blue());
Source§

fn on_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Magenta].

§Example
println!("{}", value.on_magenta());
Source§

fn on_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Cyan].

§Example
println!("{}", value.on_cyan());
Source§

fn on_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: White].

§Example
println!("{}", value.on_white());
Source§

fn on_bright_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlack].

§Example
println!("{}", value.on_bright_black());
Source§

fn on_bright_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightRed].

§Example
println!("{}", value.on_bright_red());
Source§

fn on_bright_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightGreen].

§Example
println!("{}", value.on_bright_green());
Source§

fn on_bright_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightYellow].

§Example
println!("{}", value.on_bright_yellow());
Source§

fn on_bright_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlue].

§Example
println!("{}", value.on_bright_blue());
Source§

fn on_bright_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.on_bright_magenta());
Source§

fn on_bright_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightCyan].

§Example
println!("{}", value.on_bright_cyan());
Source§

fn on_bright_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightWhite].

§Example
println!("{}", value.on_bright_white());
Source§

fn attr(&self, value: Attribute) -> Painted<&T>

Enables the styling Attribute value.

This method should be used rarely. Instead, prefer to use attribute-specific builder methods like bold() and underline(), which have the same functionality but are pithier.

§Example

Make text bold using attr():

use yansi::{Paint, Attribute};

painted.attr(Attribute::Bold);

Make text bold using using bold().

use yansi::Paint;

painted.bold();
Source§

fn bold(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Bold].

§Example
println!("{}", value.bold());
Source§

fn dim(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Dim].

§Example
println!("{}", value.dim());
Source§

fn italic(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Italic].

§Example
println!("{}", value.italic());
Source§

fn underline(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Underline].

§Example
println!("{}", value.underline());

Returns self with the attr() set to [Attribute :: Blink].

§Example
println!("{}", value.blink());

Returns self with the attr() set to [Attribute :: RapidBlink].

§Example
println!("{}", value.rapid_blink());
Source§

fn invert(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Invert].

§Example
println!("{}", value.invert());
Source§

fn conceal(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Conceal].

§Example
println!("{}", value.conceal());
Source§

fn strike(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Strike].

§Example
println!("{}", value.strike());
Source§

fn quirk(&self, value: Quirk) -> Painted<&T>

Enables the yansi Quirk value.

This method should be used rarely. Instead, prefer to use quirk-specific builder methods like mask() and wrap(), which have the same functionality but are pithier.

§Example

Enable wrapping using .quirk():

use yansi::{Paint, Quirk};

painted.quirk(Quirk::Wrap);

Enable wrapping using wrap().

use yansi::Paint;

painted.wrap();
Source§

fn mask(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Mask].

§Example
println!("{}", value.mask());
Source§

fn wrap(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Wrap].

§Example
println!("{}", value.wrap());
Source§

fn linger(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Linger].

§Example
println!("{}", value.linger());
Source§

fn clear(&self) -> Painted<&T>

👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear(). The clear() method will be removed in a future release.

Returns self with the quirk() set to [Quirk :: Clear].

§Example
println!("{}", value.clear());
Source§

fn resetting(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Resetting].

§Example
println!("{}", value.resetting());
Source§

fn bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Bright].

§Example
println!("{}", value.bright());
Source§

fn on_bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: OnBright].

§Example
println!("{}", value.on_bright());
Source§

fn whenever(&self, value: Condition) -> Painted<&T>

Conditionally enable styling based on whether the Condition value applies. Replaces any previous condition.

See the crate level docs for more details.

§Example

Enable styling painted only when both stdout and stderr are TTYs:

use yansi::{Paint, Condition};

painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);
Source§

fn new(self) -> Painted<Self>
where Self: Sized,

Create a new Painted with a default Style. Read more
Source§

fn paint<S>(&self, style: S) -> Painted<&Self>
where S: Into<Style>,

Apply a style wholesale to self. Any previous style is replaced. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PreferredContainer for T
where T: Ord + Clone + 'static,

Source§

type Container = Vec<T>

The preferred container for the type.
Source§

impl<'a, S, T> Semigroup<&'a S> for T
where T: Semigroup<S>,

Source§

fn plus_equals(&mut self, rhs: &&'a S)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Data for T
where T: Data + Ord + Debug,

Source§

impl<T> Data for T
where T: Clone + 'static,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ExchangeData for T
where T: ExchangeData + Ord + Debug,

Source§

impl<T> ExchangeData for T
where T: Data + Data,

Source§

impl<T> IdGenerator for T
where T: From<u8> + AddAssign + Sub + PartialOrd + Copy + Eq + Hash + Ord + Serialize + Display,

Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,