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 ispanic
whendebug_assertions
are enabled, orignore
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>
impl<T> Overflowing<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Returns the inner value.
Source§impl Overflowing<u8>
impl Overflowing<u8>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<u16>
impl Overflowing<u16>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<u32>
impl Overflowing<u32>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<u64>
impl Overflowing<u64>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<u128>
impl Overflowing<u128>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<i8>
impl Overflowing<i8>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<i8>
impl Overflowing<i8>
Sourcepub fn unsigned_abs(self) -> u8
pub fn unsigned_abs(self) -> u8
Returns the absolute value of the number as an unsigned integer.
Sourcepub fn is_positive(self) -> bool
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());
Sourcepub fn is_negative(self) -> bool
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>
impl Overflowing<i16>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<i16>
impl Overflowing<i16>
Sourcepub fn unsigned_abs(self) -> u16
pub fn unsigned_abs(self) -> u16
Returns the absolute value of the number as an unsigned integer.
Sourcepub fn is_positive(self) -> bool
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());
Sourcepub fn is_negative(self) -> bool
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>
impl Overflowing<i32>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<i32>
impl Overflowing<i32>
Sourcepub fn unsigned_abs(self) -> u32
pub fn unsigned_abs(self) -> u32
Returns the absolute value of the number as an unsigned integer.
Sourcepub fn is_positive(self) -> bool
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());
Sourcepub fn is_negative(self) -> bool
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>
impl Overflowing<i64>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<i64>
impl Overflowing<i64>
Sourcepub fn unsigned_abs(self) -> u64
pub fn unsigned_abs(self) -> u64
Returns the absolute value of the number as an unsigned integer.
Sourcepub fn is_positive(self) -> bool
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());
Sourcepub fn is_negative(self) -> bool
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>
impl Overflowing<i128>
Sourcepub fn checked_add(self, rhs: Self) -> Option<Self>
pub fn checked_add(self, rhs: Self) -> Option<Self>
Checked addition. Returns None
if overflow occurred.
Sourcepub fn wrapping_add(self, rhs: Self) -> Self
pub fn wrapping_add(self, rhs: Self) -> Self
Wrapping addition.
Sourcepub fn checked_mul(self, rhs: Self) -> Option<Self>
pub fn checked_mul(self, rhs: Self) -> Option<Self>
Checked multiplication. Returns None
if overflow occurred.
Sourcepub fn wrapping_mul(self, rhs: Self) -> Self
pub fn wrapping_mul(self, rhs: Self) -> Self
Wrapping multiplication.
Source§impl Overflowing<i128>
impl Overflowing<i128>
Sourcepub fn unsigned_abs(self) -> u128
pub fn unsigned_abs(self) -> u128
Returns the absolute value of the number as an unsigned integer.
Sourcepub fn is_positive(self) -> bool
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());
Sourcepub fn is_negative(self) -> bool
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>
impl<'a> Add<&'a Overflowing<i128>> for Overflowing<i128>
Source§impl<'a> Add<&'a Overflowing<i16>> for Overflowing<i16>
impl<'a> Add<&'a Overflowing<i16>> for Overflowing<i16>
Source§impl<'a> Add<&'a Overflowing<i32>> for Overflowing<i32>
impl<'a> Add<&'a Overflowing<i32>> for Overflowing<i32>
Source§impl<'a> Add<&'a Overflowing<i64>> for Overflowing<i64>
impl<'a> Add<&'a Overflowing<i64>> for Overflowing<i64>
Source§impl<'a> Add<&'a Overflowing<i8>> for Overflowing<i8>
impl<'a> Add<&'a Overflowing<i8>> for Overflowing<i8>
Source§impl<'a> Add<&'a Overflowing<u128>> for Overflowing<u128>
impl<'a> Add<&'a Overflowing<u128>> for Overflowing<u128>
Source§impl<'a> Add<&'a Overflowing<u16>> for Overflowing<u16>
impl<'a> Add<&'a Overflowing<u16>> for Overflowing<u16>
Source§impl<'a> Add<&'a Overflowing<u32>> for Overflowing<u32>
impl<'a> Add<&'a Overflowing<u32>> for Overflowing<u32>
Source§impl<'a> Add<&'a Overflowing<u64>> for Overflowing<u64>
impl<'a> Add<&'a Overflowing<u64>> for Overflowing<u64>
Source§impl<'a> Add<&'a Overflowing<u8>> for Overflowing<u8>
impl<'a> Add<&'a Overflowing<u8>> for Overflowing<u8>
Source§impl Add for Overflowing<i128>
impl Add for Overflowing<i128>
Source§impl Add for Overflowing<i16>
impl Add for Overflowing<i16>
Source§impl Add for Overflowing<i32>
impl Add for Overflowing<i32>
Source§impl Add for Overflowing<i64>
impl Add for Overflowing<i64>
Source§impl Add for Overflowing<i8>
impl Add for Overflowing<i8>
Source§impl Add for Overflowing<u128>
impl Add for Overflowing<u128>
Source§impl Add for Overflowing<u16>
impl Add for Overflowing<u16>
Source§impl Add for Overflowing<u32>
impl Add for Overflowing<u32>
Source§impl Add for Overflowing<u64>
impl Add for Overflowing<u64>
Source§impl Add for Overflowing<u8>
impl Add for Overflowing<u8>
Source§impl AddAssign<&Overflowing<i128>> for Overflowing<i128>
impl AddAssign<&Overflowing<i128>> for Overflowing<i128>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<i16>> for Overflowing<i16>
impl AddAssign<&Overflowing<i16>> for Overflowing<i16>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<i32>> for Overflowing<i32>
impl AddAssign<&Overflowing<i32>> for Overflowing<i32>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<i64>> for Overflowing<i64>
impl AddAssign<&Overflowing<i64>> for Overflowing<i64>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<i8>> for Overflowing<i8>
impl AddAssign<&Overflowing<i8>> for Overflowing<i8>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<u128>> for Overflowing<u128>
impl AddAssign<&Overflowing<u128>> for Overflowing<u128>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<u16>> for Overflowing<u16>
impl AddAssign<&Overflowing<u16>> for Overflowing<u16>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<u32>> for Overflowing<u32>
impl AddAssign<&Overflowing<u32>> for Overflowing<u32>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<u64>> for Overflowing<u64>
impl AddAssign<&Overflowing<u64>> for Overflowing<u64>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign<&Overflowing<u8>> for Overflowing<u8>
impl AddAssign<&Overflowing<u8>> for Overflowing<u8>
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<i128>
impl AddAssign for Overflowing<i128>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<i16>
impl AddAssign for Overflowing<i16>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<i32>
impl AddAssign for Overflowing<i32>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<i64>
impl AddAssign for Overflowing<i64>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<i8>
impl AddAssign for Overflowing<i8>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<u128>
impl AddAssign for Overflowing<u128>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<u16>
impl AddAssign for Overflowing<u16>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<u32>
impl AddAssign for Overflowing<u32>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<u64>
impl AddAssign for Overflowing<u64>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl AddAssign for Overflowing<u8>
impl AddAssign for Overflowing<u8>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+=
operation. Read moreSource§impl<T: Arbitrary> Arbitrary for Overflowing<T>
impl<T: Arbitrary> Arbitrary for Overflowing<T>
Source§type Parameters = <T as Arbitrary>::Parameters
type Parameters = <T as Arbitrary>::Parameters
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>>
type Strategy = Map<<T as Arbitrary>::Strategy, fn(_: T) -> Overflowing<T>>
Strategy
used to generate values of type Self
.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl<T> CastFrom<T> for Overflowing<i128>
impl<T> CastFrom<T> for Overflowing<i128>
Source§impl<T> CastFrom<T> for Overflowing<i16>
impl<T> CastFrom<T> for Overflowing<i16>
Source§impl<T> CastFrom<T> for Overflowing<i32>
impl<T> CastFrom<T> for Overflowing<i32>
Source§impl<T> CastFrom<T> for Overflowing<i64>
impl<T> CastFrom<T> for Overflowing<i64>
Source§impl<T> CastFrom<T> for Overflowing<i8>
impl<T> CastFrom<T> for Overflowing<i8>
Source§impl<T> CastFrom<T> for Overflowing<u128>
impl<T> CastFrom<T> for Overflowing<u128>
Source§impl<T> CastFrom<T> for Overflowing<u16>
impl<T> CastFrom<T> for Overflowing<u16>
Source§impl<T> CastFrom<T> for Overflowing<u32>
impl<T> CastFrom<T> for Overflowing<u32>
Source§impl<T> CastFrom<T> for Overflowing<u64>
impl<T> CastFrom<T> for Overflowing<u64>
Source§impl<T> CastFrom<T> for Overflowing<u8>
impl<T> CastFrom<T> for Overflowing<u8>
Source§impl<T: Clone> Clone for Overflowing<T>
impl<T: Clone> Clone for Overflowing<T>
Source§fn clone(&self) -> Overflowing<T>
fn clone(&self) -> Overflowing<T>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<T: Columnar + Copy + Send> Columnar for Overflowing<T>
impl<T: Columnar + Copy + Send> Columnar for Overflowing<T>
Source§type Ref<'a> = Overflowing<T>
type Ref<'a> = Overflowing<T>
Source§type Container = Overflows<T, Vec<T>>
type Container = Overflows<T, Vec<T>>
Source§fn into_owned<'a>(other: Self::Ref<'a>) -> Self
fn into_owned<'a>(other: Self::Ref<'a>) -> Self
Self
from Self::Ref<'a>
.Source§fn copy_from<'a>(&mut self, other: Self::Ref<'a>)where
Self: Sized,
fn copy_from<'a>(&mut self, other: Self::Ref<'a>)where
Self: Sized,
self
from a reference. Read moreSource§fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
Source§fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
Source§impl Columnation for Overflowing<i128>
impl Columnation for Overflowing<i128>
Source§type InnerRegion = CopyRegion<Overflowing<i128>>
type InnerRegion = CopyRegion<Overflowing<i128>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<i16>
impl Columnation for Overflowing<i16>
Source§type InnerRegion = CopyRegion<Overflowing<i16>>
type InnerRegion = CopyRegion<Overflowing<i16>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<i32>
impl Columnation for Overflowing<i32>
Source§type InnerRegion = CopyRegion<Overflowing<i32>>
type InnerRegion = CopyRegion<Overflowing<i32>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<i64>
impl Columnation for Overflowing<i64>
Source§type InnerRegion = CopyRegion<Overflowing<i64>>
type InnerRegion = CopyRegion<Overflowing<i64>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<i8>
impl Columnation for Overflowing<i8>
Source§type InnerRegion = CopyRegion<Overflowing<i8>>
type InnerRegion = CopyRegion<Overflowing<i8>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<u128>
impl Columnation for Overflowing<u128>
Source§type InnerRegion = CopyRegion<Overflowing<u128>>
type InnerRegion = CopyRegion<Overflowing<u128>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<u16>
impl Columnation for Overflowing<u16>
Source§type InnerRegion = CopyRegion<Overflowing<u16>>
type InnerRegion = CopyRegion<Overflowing<u16>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<u32>
impl Columnation for Overflowing<u32>
Source§type InnerRegion = CopyRegion<Overflowing<u32>>
type InnerRegion = CopyRegion<Overflowing<u32>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<u64>
impl Columnation for Overflowing<u64>
Source§type InnerRegion = CopyRegion<Overflowing<u64>>
type InnerRegion = CopyRegion<Overflowing<u64>>
Self
type. Note: not allocations of Self
, but of the
things that it owns.Source§impl Columnation for Overflowing<u8>
impl Columnation for Overflowing<u8>
Source§type InnerRegion = CopyRegion<Overflowing<u8>>
type InnerRegion = CopyRegion<Overflowing<u8>>
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>
impl<T: Columnar + Copy + Send, TC: Container<T>> Container<Overflowing<T>> for Overflows<T, TC>
Source§impl<T: Debug> Debug for Overflowing<T>
impl<T: Debug> Debug for Overflowing<T>
Source§impl<T: Default> Default for Overflowing<T>
impl<T: Default> Default for Overflowing<T>
Source§fn default() -> Overflowing<T>
fn default() -> Overflowing<T>
Source§impl<'de, T> Deserialize<'de> for Overflowing<T>where
T: Deserialize<'de>,
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>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Abelian for Overflowing<i128>
impl Abelian for Overflowing<i128>
Source§impl Abelian for Overflowing<i16>
impl Abelian for Overflowing<i16>
Source§impl Abelian for Overflowing<i32>
impl Abelian for Overflowing<i32>
Source§impl Abelian for Overflowing<i64>
impl Abelian for Overflowing<i64>
Source§impl Abelian for Overflowing<i8>
impl Abelian for Overflowing<i8>
Source§impl<T: Display> Display for Overflowing<T>
impl<T: Display> Display for Overflowing<T>
Source§impl Div for Overflowing<i128>
impl Div for Overflowing<i128>
Source§impl Div for Overflowing<i16>
impl Div for Overflowing<i16>
Source§impl Div for Overflowing<i32>
impl Div for Overflowing<i32>
Source§impl Div for Overflowing<i64>
impl Div for Overflowing<i64>
Source§impl Div for Overflowing<i8>
impl Div for Overflowing<i8>
Source§impl Div for Overflowing<u128>
impl Div for Overflowing<u128>
Source§impl Div for Overflowing<u16>
impl Div for Overflowing<u16>
Source§impl Div for Overflowing<u32>
impl Div for Overflowing<u32>
Source§impl Div for Overflowing<u64>
impl Div for Overflowing<u64>
Source§impl Div for Overflowing<u8>
impl Div for Overflowing<u8>
Source§impl From<Overflowing<bool>> for Overflowing<i128>
impl From<Overflowing<bool>> for Overflowing<i128>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<i16>
impl From<Overflowing<bool>> for Overflowing<i16>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<i32>
impl From<Overflowing<bool>> for Overflowing<i32>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<i64>
impl From<Overflowing<bool>> for Overflowing<i64>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<i8>
impl From<Overflowing<bool>> for Overflowing<i8>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<u128>
impl From<Overflowing<bool>> for Overflowing<u128>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<u16>
impl From<Overflowing<bool>> for Overflowing<u16>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<u32>
impl From<Overflowing<bool>> for Overflowing<u32>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<u64>
impl From<Overflowing<bool>> for Overflowing<u64>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<bool>> for Overflowing<u8>
impl From<Overflowing<bool>> for Overflowing<u8>
Source§fn from(value: Overflowing<bool>) -> Self
fn from(value: Overflowing<bool>) -> Self
Source§impl From<Overflowing<i16>> for Overflowing<i128>
impl From<Overflowing<i16>> for Overflowing<i128>
Source§fn from(value: Overflowing<i16>) -> Self
fn from(value: Overflowing<i16>) -> Self
Source§impl From<Overflowing<i16>> for Overflowing<i32>
impl From<Overflowing<i16>> for Overflowing<i32>
Source§fn from(value: Overflowing<i16>) -> Self
fn from(value: Overflowing<i16>) -> Self
Source§impl From<Overflowing<i16>> for Overflowing<i64>
impl From<Overflowing<i16>> for Overflowing<i64>
Source§fn from(value: Overflowing<i16>) -> Self
fn from(value: Overflowing<i16>) -> Self
Source§impl From<Overflowing<i32>> for Overflowing<i128>
impl From<Overflowing<i32>> for Overflowing<i128>
Source§fn from(value: Overflowing<i32>) -> Self
fn from(value: Overflowing<i32>) -> Self
Source§impl From<Overflowing<i32>> for Overflowing<i64>
impl From<Overflowing<i32>> for Overflowing<i64>
Source§fn from(value: Overflowing<i32>) -> Self
fn from(value: Overflowing<i32>) -> Self
Source§impl From<Overflowing<i64>> for Overflowing<i128>
impl From<Overflowing<i64>> for Overflowing<i128>
Source§fn from(value: Overflowing<i64>) -> Self
fn from(value: Overflowing<i64>) -> Self
Source§impl From<Overflowing<i8>> for Overflowing<i128>
impl From<Overflowing<i8>> for Overflowing<i128>
Source§fn from(value: Overflowing<i8>) -> Self
fn from(value: Overflowing<i8>) -> Self
Source§impl From<Overflowing<i8>> for Overflowing<i16>
impl From<Overflowing<i8>> for Overflowing<i16>
Source§fn from(value: Overflowing<i8>) -> Self
fn from(value: Overflowing<i8>) -> Self
Source§impl From<Overflowing<i8>> for Overflowing<i32>
impl From<Overflowing<i8>> for Overflowing<i32>
Source§fn from(value: Overflowing<i8>) -> Self
fn from(value: Overflowing<i8>) -> Self
Source§impl From<Overflowing<i8>> for Overflowing<i64>
impl From<Overflowing<i8>> for Overflowing<i64>
Source§fn from(value: Overflowing<i8>) -> Self
fn from(value: Overflowing<i8>) -> Self
Source§impl From<Overflowing<u16>> for Overflowing<i128>
impl From<Overflowing<u16>> for Overflowing<i128>
Source§fn from(value: Overflowing<u16>) -> Self
fn from(value: Overflowing<u16>) -> Self
Source§impl From<Overflowing<u16>> for Overflowing<i32>
impl From<Overflowing<u16>> for Overflowing<i32>
Source§fn from(value: Overflowing<u16>) -> Self
fn from(value: Overflowing<u16>) -> Self
Source§impl From<Overflowing<u16>> for Overflowing<i64>
impl From<Overflowing<u16>> for Overflowing<i64>
Source§fn from(value: Overflowing<u16>) -> Self
fn from(value: Overflowing<u16>) -> Self
Source§impl From<Overflowing<u16>> for Overflowing<u128>
impl From<Overflowing<u16>> for Overflowing<u128>
Source§fn from(value: Overflowing<u16>) -> Self
fn from(value: Overflowing<u16>) -> Self
Source§impl From<Overflowing<u16>> for Overflowing<u32>
impl From<Overflowing<u16>> for Overflowing<u32>
Source§fn from(value: Overflowing<u16>) -> Self
fn from(value: Overflowing<u16>) -> Self
Source§impl From<Overflowing<u16>> for Overflowing<u64>
impl From<Overflowing<u16>> for Overflowing<u64>
Source§fn from(value: Overflowing<u16>) -> Self
fn from(value: Overflowing<u16>) -> Self
Source§impl From<Overflowing<u32>> for Overflowing<i128>
impl From<Overflowing<u32>> for Overflowing<i128>
Source§fn from(value: Overflowing<u32>) -> Self
fn from(value: Overflowing<u32>) -> Self
Source§impl From<Overflowing<u32>> for Overflowing<i64>
impl From<Overflowing<u32>> for Overflowing<i64>
Source§fn from(value: Overflowing<u32>) -> Self
fn from(value: Overflowing<u32>) -> Self
Source§impl From<Overflowing<u32>> for Overflowing<u128>
impl From<Overflowing<u32>> for Overflowing<u128>
Source§fn from(value: Overflowing<u32>) -> Self
fn from(value: Overflowing<u32>) -> Self
Source§impl From<Overflowing<u32>> for Overflowing<u64>
impl From<Overflowing<u32>> for Overflowing<u64>
Source§fn from(value: Overflowing<u32>) -> Self
fn from(value: Overflowing<u32>) -> Self
Source§impl From<Overflowing<u64>> for Overflowing<i128>
impl From<Overflowing<u64>> for Overflowing<i128>
Source§fn from(value: Overflowing<u64>) -> Self
fn from(value: Overflowing<u64>) -> Self
Source§impl From<Overflowing<u64>> for Overflowing<u128>
impl From<Overflowing<u64>> for Overflowing<u128>
Source§fn from(value: Overflowing<u64>) -> Self
fn from(value: Overflowing<u64>) -> Self
Source§impl From<Overflowing<u8>> for Overflowing<i128>
impl From<Overflowing<u8>> for Overflowing<i128>
Source§fn from(value: Overflowing<u8>) -> Self
fn from(value: Overflowing<u8>) -> Self
Source§impl From<Overflowing<u8>> for Overflowing<i16>
impl From<Overflowing<u8>> for Overflowing<i16>
Source§fn from(value: Overflowing<u8>) -> Self
fn from(value: Overflowing<u8>) -> Self
Source§impl From<Overflowing<u8>> for Overflowing<i32>
impl From<Overflowing<u8>> for Overflowing<i32>
Source§fn from(value: Overflowing<u8>) -> Self
fn from(value: Overflowing<u8>) -> Self
Source§impl From<Overflowing<u8>> for Overflowing<i64>
impl From<Overflowing<u8>> for Overflowing<i64>
Source§fn from(value: Overflowing<u8>) -> Self
fn from(value: Overflowing<u8>) -> Self
Source§impl From<Overflowing<u8>> for Overflowing<u128>
impl From<Overflowing<u8>> for Overflowing<u128>
Source§fn from(value: Overflowing<u8>) -> Self
fn from(value: Overflowing<u8>) -> Self
Source§impl From<Overflowing<u8>> for Overflowing<u16>
impl From<Overflowing<u8>> for Overflowing<u16>
Source§fn from(value: Overflowing<u8>) -> Self
fn from(value: Overflowing<u8>) -> Self
Source§impl From<Overflowing<u8>> for Overflowing<u32>
impl From<Overflowing<u8>> for Overflowing<u32>
Source§fn from(value: Overflowing<u8>) -> Self
fn from(value: Overflowing<u8>) -> Self
Source§impl From<Overflowing<u8>> for Overflowing<u64>
impl From<Overflowing<u8>> for Overflowing<u64>
Source§fn from(value: Overflowing<u8>) -> Self
fn from(value: Overflowing<u8>) -> Self
Source§impl FromStr for Overflowing<i128>
impl FromStr for Overflowing<i128>
Source§impl FromStr for Overflowing<i16>
impl FromStr for Overflowing<i16>
Source§impl FromStr for Overflowing<i32>
impl FromStr for Overflowing<i32>
Source§impl FromStr for Overflowing<i64>
impl FromStr for Overflowing<i64>
Source§impl FromStr for Overflowing<i8>
impl FromStr for Overflowing<i8>
Source§impl FromStr for Overflowing<u128>
impl FromStr for Overflowing<u128>
Source§impl FromStr for Overflowing<u16>
impl FromStr for Overflowing<u16>
Source§impl FromStr for Overflowing<u32>
impl FromStr for Overflowing<u32>
Source§impl FromStr for Overflowing<u64>
impl FromStr for Overflowing<u64>
Source§impl FromStr for Overflowing<u8>
impl FromStr for Overflowing<u8>
Source§impl Hash for Overflowing<i128>
impl Hash for Overflowing<i128>
Source§impl Hash for Overflowing<i16>
impl Hash for Overflowing<i16>
Source§impl Hash for Overflowing<i32>
impl Hash for Overflowing<i32>
Source§impl Hash for Overflowing<i64>
impl Hash for Overflowing<i64>
Source§impl Hash for Overflowing<i8>
impl Hash for Overflowing<i8>
Source§impl Hash for Overflowing<u128>
impl Hash for Overflowing<u128>
Source§impl Hash for Overflowing<u16>
impl Hash for Overflowing<u16>
Source§impl Hash for Overflowing<u32>
impl Hash for Overflowing<u32>
Source§impl Hash for Overflowing<u64>
impl Hash for Overflowing<u64>
Source§impl Hash for Overflowing<u8>
impl Hash for Overflowing<u8>
Source§impl IsZero for Overflowing<i128>
impl IsZero for Overflowing<i128>
Source§impl IsZero for Overflowing<i16>
impl IsZero for Overflowing<i16>
Source§impl IsZero for Overflowing<i32>
impl IsZero for Overflowing<i32>
Source§impl IsZero for Overflowing<i64>
impl IsZero for Overflowing<i64>
Source§impl IsZero for Overflowing<i8>
impl IsZero for Overflowing<i8>
Source§impl IsZero for Overflowing<u128>
impl IsZero for Overflowing<u128>
Source§impl IsZero for Overflowing<u16>
impl IsZero for Overflowing<u16>
Source§impl IsZero for Overflowing<u32>
impl IsZero for Overflowing<u32>
Source§impl IsZero for Overflowing<u64>
impl IsZero for Overflowing<u64>
Source§impl IsZero for Overflowing<u8>
impl IsZero for Overflowing<u8>
Source§impl Monoid for Overflowing<i128>
impl Monoid for Overflowing<i128>
Source§impl Monoid for Overflowing<i16>
impl Monoid for Overflowing<i16>
Source§impl Monoid for Overflowing<i32>
impl Monoid for Overflowing<i32>
Source§impl Monoid for Overflowing<i64>
impl Monoid for Overflowing<i64>
Source§impl Monoid for Overflowing<i8>
impl Monoid for Overflowing<i8>
Source§impl Monoid for Overflowing<u128>
impl Monoid for Overflowing<u128>
Source§impl Monoid for Overflowing<u16>
impl Monoid for Overflowing<u16>
Source§impl Monoid for Overflowing<u32>
impl Monoid for Overflowing<u32>
Source§impl Monoid for Overflowing<u64>
impl Monoid for Overflowing<u64>
Source§impl Monoid for Overflowing<u8>
impl Monoid for Overflowing<u8>
Source§impl Mul for Overflowing<i128>
impl Mul for Overflowing<i128>
Source§impl Mul for Overflowing<i16>
impl Mul for Overflowing<i16>
Source§impl Mul for Overflowing<i32>
impl Mul for Overflowing<i32>
Source§impl Mul for Overflowing<i64>
impl Mul for Overflowing<i64>
Source§impl Mul for Overflowing<i8>
impl Mul for Overflowing<i8>
Source§impl Mul for Overflowing<u128>
impl Mul for Overflowing<u128>
Source§impl Mul for Overflowing<u16>
impl Mul for Overflowing<u16>
Source§impl Mul for Overflowing<u32>
impl Mul for Overflowing<u32>
Source§impl Mul for Overflowing<u64>
impl Mul for Overflowing<u64>
Source§impl Mul for Overflowing<u8>
impl Mul for Overflowing<u8>
Source§impl Multiply for Overflowing<i128>
impl Multiply for Overflowing<i128>
Source§impl Multiply for Overflowing<i16>
impl Multiply for Overflowing<i16>
Source§impl Multiply for Overflowing<i32>
impl Multiply for Overflowing<i32>
Source§impl Multiply for Overflowing<i64>
impl Multiply for Overflowing<i64>
Source§impl Multiply for Overflowing<i8>
impl Multiply for Overflowing<i8>
Source§impl Multiply for Overflowing<u128>
impl Multiply for Overflowing<u128>
Source§impl Multiply for Overflowing<u16>
impl Multiply for Overflowing<u16>
Source§impl Multiply for Overflowing<u32>
impl Multiply for Overflowing<u32>
Source§impl Multiply for Overflowing<u64>
impl Multiply for Overflowing<u64>
Source§impl Multiply for Overflowing<u8>
impl Multiply for Overflowing<u8>
Source§impl Neg for &Overflowing<i128>
impl Neg for &Overflowing<i128>
Source§impl Neg for &Overflowing<i16>
impl Neg for &Overflowing<i16>
Source§impl Neg for &Overflowing<i32>
impl Neg for &Overflowing<i32>
Source§impl Neg for &Overflowing<i64>
impl Neg for &Overflowing<i64>
Source§impl Neg for &Overflowing<i8>
impl Neg for &Overflowing<i8>
Source§impl Neg for Overflowing<i128>
impl Neg for Overflowing<i128>
Source§impl Neg for Overflowing<i16>
impl Neg for Overflowing<i16>
Source§impl Neg for Overflowing<i32>
impl Neg for Overflowing<i32>
Source§impl Neg for Overflowing<i64>
impl Neg for Overflowing<i64>
Source§impl Neg for Overflowing<i8>
impl Neg for Overflowing<i8>
Source§impl Num for Overflowing<i128>
impl Num for Overflowing<i128>
type FromStrRadixErr = <i128 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<i16>
impl Num for Overflowing<i16>
type FromStrRadixErr = <i16 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<i32>
impl Num for Overflowing<i32>
type FromStrRadixErr = <i32 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<i64>
impl Num for Overflowing<i64>
type FromStrRadixErr = <i64 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<i8>
impl Num for Overflowing<i8>
type FromStrRadixErr = <i8 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<u128>
impl Num for Overflowing<u128>
type FromStrRadixErr = <u128 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<u16>
impl Num for Overflowing<u16>
type FromStrRadixErr = <u16 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<u32>
impl Num for Overflowing<u32>
type FromStrRadixErr = <u32 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<u64>
impl Num for Overflowing<u64>
type FromStrRadixErr = <u64 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl Num for Overflowing<u8>
impl Num for Overflowing<u8>
type FromStrRadixErr = <u8 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
2..=36
). Read moreSource§impl One for Overflowing<i128>
impl One for Overflowing<i128>
Source§impl One for Overflowing<i16>
impl One for Overflowing<i16>
Source§impl One for Overflowing<i32>
impl One for Overflowing<i32>
Source§impl One for Overflowing<i64>
impl One for Overflowing<i64>
Source§impl One for Overflowing<i8>
impl One for Overflowing<i8>
Source§impl One for Overflowing<u128>
impl One for Overflowing<u128>
Source§impl One for Overflowing<u16>
impl One for Overflowing<u16>
Source§impl One for Overflowing<u32>
impl One for Overflowing<u32>
Source§impl One for Overflowing<u64>
impl One for Overflowing<u64>
Source§impl One for Overflowing<u8>
impl One for Overflowing<u8>
Source§impl<T: Ord> Ord for Overflowing<T>
impl<T: Ord> Ord for Overflowing<T>
Source§fn cmp(&self, other: &Overflowing<T>) -> Ordering
fn cmp(&self, other: &Overflowing<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl<T: PartialEq> PartialEq for Overflowing<T>
impl<T: PartialEq> PartialEq for Overflowing<T>
Source§impl<T: PartialOrd> PartialOrd for Overflowing<T>
impl<T: PartialOrd> PartialOrd for Overflowing<T>
Source§impl<T: Copy, TC: Push<T>> Push<&Overflowing<T>> for Overflows<T, TC>
impl<T: Copy, TC: Push<T>> Push<&Overflowing<T>> for Overflows<T, TC>
Source§fn push(&mut self, item: &Overflowing<T>)
fn push(&mut self, item: &Overflowing<T>)
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
self
.Source§impl<T: Copy, TC: Push<T>> Push<Overflowing<T>> for Overflows<T, TC>
impl<T: Copy, TC: Push<T>> Push<Overflowing<T>> for Overflows<T, TC>
Source§fn push(&mut self, item: Overflowing<T>)
fn push(&mut self, item: Overflowing<T>)
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
self
.Source§impl Rem for Overflowing<i128>
impl Rem for Overflowing<i128>
Source§impl Rem for Overflowing<i16>
impl Rem for Overflowing<i16>
Source§impl Rem for Overflowing<i32>
impl Rem for Overflowing<i32>
Source§impl Rem for Overflowing<i64>
impl Rem for Overflowing<i64>
Source§impl Rem for Overflowing<i8>
impl Rem for Overflowing<i8>
Source§impl Rem for Overflowing<u128>
impl Rem for Overflowing<u128>
Source§impl Rem for Overflowing<u16>
impl Rem for Overflowing<u16>
Source§impl Rem for Overflowing<u32>
impl Rem for Overflowing<u32>
Source§impl Rem for Overflowing<u64>
impl Rem for Overflowing<u64>
Source§impl Rem for Overflowing<u8>
impl Rem for Overflowing<u8>
Source§impl Semigroup for Overflowing<i128>
impl Semigroup for Overflowing<i128>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<i16>
impl Semigroup for Overflowing<i16>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<i32>
impl Semigroup for Overflowing<i32>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<i64>
impl Semigroup for Overflowing<i64>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<i8>
impl Semigroup for Overflowing<i8>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<u128>
impl Semigroup for Overflowing<u128>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<u16>
impl Semigroup for Overflowing<u16>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<u32>
impl Semigroup for Overflowing<u32>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<u64>
impl Semigroup for Overflowing<u64>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl Semigroup for Overflowing<u8>
impl Semigroup for Overflowing<u8>
Source§fn plus_equals(&mut self, rhs: &Self)
fn plus_equals(&mut self, rhs: &Self)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl<T> Serialize for Overflowing<T>where
T: Serialize,
impl<T> Serialize for Overflowing<T>where
T: Serialize,
Source§impl Signed for Overflowing<i128>
impl Signed for Overflowing<i128>
Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
Source§impl Signed for Overflowing<i16>
impl Signed for Overflowing<i16>
Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
Source§impl Signed for Overflowing<i32>
impl Signed for Overflowing<i32>
Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
Source§impl Signed for Overflowing<i64>
impl Signed for Overflowing<i64>
Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
Source§impl Signed for Overflowing<i8>
impl Signed for Overflowing<i8>
Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
Source§impl<'a> Sub<&'a Overflowing<i128>> for Overflowing<i128>
impl<'a> Sub<&'a Overflowing<i128>> for Overflowing<i128>
Source§impl<'a> Sub<&'a Overflowing<i16>> for Overflowing<i16>
impl<'a> Sub<&'a Overflowing<i16>> for Overflowing<i16>
Source§impl<'a> Sub<&'a Overflowing<i32>> for Overflowing<i32>
impl<'a> Sub<&'a Overflowing<i32>> for Overflowing<i32>
Source§impl<'a> Sub<&'a Overflowing<i64>> for Overflowing<i64>
impl<'a> Sub<&'a Overflowing<i64>> for Overflowing<i64>
Source§impl<'a> Sub<&'a Overflowing<i8>> for Overflowing<i8>
impl<'a> Sub<&'a Overflowing<i8>> for Overflowing<i8>
Source§impl<'a> Sub<&'a Overflowing<u128>> for Overflowing<u128>
impl<'a> Sub<&'a Overflowing<u128>> for Overflowing<u128>
Source§impl<'a> Sub<&'a Overflowing<u16>> for Overflowing<u16>
impl<'a> Sub<&'a Overflowing<u16>> for Overflowing<u16>
Source§impl<'a> Sub<&'a Overflowing<u32>> for Overflowing<u32>
impl<'a> Sub<&'a Overflowing<u32>> for Overflowing<u32>
Source§impl<'a> Sub<&'a Overflowing<u64>> for Overflowing<u64>
impl<'a> Sub<&'a Overflowing<u64>> for Overflowing<u64>
Source§impl<'a> Sub<&'a Overflowing<u8>> for Overflowing<u8>
impl<'a> Sub<&'a Overflowing<u8>> for Overflowing<u8>
Source§impl Sub for Overflowing<i128>
impl Sub for Overflowing<i128>
Source§impl Sub for Overflowing<i16>
impl Sub for Overflowing<i16>
Source§impl Sub for Overflowing<i32>
impl Sub for Overflowing<i32>
Source§impl Sub for Overflowing<i64>
impl Sub for Overflowing<i64>
Source§impl Sub for Overflowing<i8>
impl Sub for Overflowing<i8>
Source§impl Sub for Overflowing<u128>
impl Sub for Overflowing<u128>
Source§impl Sub for Overflowing<u16>
impl Sub for Overflowing<u16>
Source§impl Sub for Overflowing<u32>
impl Sub for Overflowing<u32>
Source§impl Sub for Overflowing<u64>
impl Sub for Overflowing<u64>
Source§impl Sub for Overflowing<u8>
impl Sub for Overflowing<u8>
Source§impl SubAssign<&Overflowing<i128>> for Overflowing<i128>
impl SubAssign<&Overflowing<i128>> for Overflowing<i128>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<i16>> for Overflowing<i16>
impl SubAssign<&Overflowing<i16>> for Overflowing<i16>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<i32>> for Overflowing<i32>
impl SubAssign<&Overflowing<i32>> for Overflowing<i32>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<i64>> for Overflowing<i64>
impl SubAssign<&Overflowing<i64>> for Overflowing<i64>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<i8>> for Overflowing<i8>
impl SubAssign<&Overflowing<i8>> for Overflowing<i8>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<u128>> for Overflowing<u128>
impl SubAssign<&Overflowing<u128>> for Overflowing<u128>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<u16>> for Overflowing<u16>
impl SubAssign<&Overflowing<u16>> for Overflowing<u16>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<u32>> for Overflowing<u32>
impl SubAssign<&Overflowing<u32>> for Overflowing<u32>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<u64>> for Overflowing<u64>
impl SubAssign<&Overflowing<u64>> for Overflowing<u64>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign<&Overflowing<u8>> for Overflowing<u8>
impl SubAssign<&Overflowing<u8>> for Overflowing<u8>
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<i128>
impl SubAssign for Overflowing<i128>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<i16>
impl SubAssign for Overflowing<i16>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<i32>
impl SubAssign for Overflowing<i32>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<i64>
impl SubAssign for Overflowing<i64>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<i8>
impl SubAssign for Overflowing<i8>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<u128>
impl SubAssign for Overflowing<u128>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<u16>
impl SubAssign for Overflowing<u16>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<u32>
impl SubAssign for Overflowing<u32>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<u64>
impl SubAssign for Overflowing<u64>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl SubAssign for Overflowing<u8>
impl SubAssign for Overflowing<u8>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read moreSource§impl<'a> Sum<&'a Overflowing<i128>> for Overflowing<i128>
impl<'a> Sum<&'a Overflowing<i128>> for Overflowing<i128>
Source§impl<'a> Sum<&'a Overflowing<i16>> for Overflowing<i16>
impl<'a> Sum<&'a Overflowing<i16>> for Overflowing<i16>
Source§impl<'a> Sum<&'a Overflowing<i32>> for Overflowing<i32>
impl<'a> Sum<&'a Overflowing<i32>> for Overflowing<i32>
Source§impl<'a> Sum<&'a Overflowing<i64>> for Overflowing<i64>
impl<'a> Sum<&'a Overflowing<i64>> for Overflowing<i64>
Source§impl<'a> Sum<&'a Overflowing<i8>> for Overflowing<i8>
impl<'a> Sum<&'a Overflowing<i8>> for Overflowing<i8>
Source§impl<'a> Sum<&'a Overflowing<u128>> for Overflowing<u128>
impl<'a> Sum<&'a Overflowing<u128>> for Overflowing<u128>
Source§impl<'a> Sum<&'a Overflowing<u16>> for Overflowing<u16>
impl<'a> Sum<&'a Overflowing<u16>> for Overflowing<u16>
Source§impl<'a> Sum<&'a Overflowing<u32>> for Overflowing<u32>
impl<'a> Sum<&'a Overflowing<u32>> for Overflowing<u32>
Source§impl<'a> Sum<&'a Overflowing<u64>> for Overflowing<u64>
impl<'a> Sum<&'a Overflowing<u64>> for Overflowing<u64>
Source§impl<'a> Sum<&'a Overflowing<u8>> for Overflowing<u8>
impl<'a> Sum<&'a Overflowing<u8>> for Overflowing<u8>
Source§impl Sum for Overflowing<i128>
impl Sum for Overflowing<i128>
Source§impl Sum for Overflowing<i16>
impl Sum for Overflowing<i16>
Source§impl Sum for Overflowing<i32>
impl Sum for Overflowing<i32>
Source§impl Sum for Overflowing<i64>
impl Sum for Overflowing<i64>
Source§impl Sum for Overflowing<i8>
impl Sum for Overflowing<i8>
Source§impl Sum for Overflowing<u128>
impl Sum for Overflowing<u128>
Source§impl Sum for Overflowing<u16>
impl Sum for Overflowing<u16>
Source§impl Sum for Overflowing<u32>
impl Sum for Overflowing<u32>
Source§impl Sum for Overflowing<u64>
impl Sum for Overflowing<u64>
Source§impl Sum for Overflowing<u8>
impl Sum for Overflowing<u8>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<i16>
impl TryFrom<Overflowing<i128>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<i32>
impl TryFrom<Overflowing<i128>> for Overflowing<i32>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<i64>
impl TryFrom<Overflowing<i128>> for Overflowing<i64>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<i8>
impl TryFrom<Overflowing<i128>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<u128>
impl TryFrom<Overflowing<i128>> for Overflowing<u128>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<u16>
impl TryFrom<Overflowing<i128>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<u32>
impl TryFrom<Overflowing<i128>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<u64>
impl TryFrom<Overflowing<i128>> for Overflowing<u64>
Source§impl TryFrom<Overflowing<i128>> for Overflowing<u8>
impl TryFrom<Overflowing<i128>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<i16>> for Overflowing<i8>
impl TryFrom<Overflowing<i16>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<i16>> for Overflowing<u128>
impl TryFrom<Overflowing<i16>> for Overflowing<u128>
Source§impl TryFrom<Overflowing<i16>> for Overflowing<u16>
impl TryFrom<Overflowing<i16>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<i16>> for Overflowing<u32>
impl TryFrom<Overflowing<i16>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<i16>> for Overflowing<u64>
impl TryFrom<Overflowing<i16>> for Overflowing<u64>
Source§impl TryFrom<Overflowing<i16>> for Overflowing<u8>
impl TryFrom<Overflowing<i16>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<i32>> for Overflowing<i16>
impl TryFrom<Overflowing<i32>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<i32>> for Overflowing<i8>
impl TryFrom<Overflowing<i32>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<i32>> for Overflowing<u128>
impl TryFrom<Overflowing<i32>> for Overflowing<u128>
Source§impl TryFrom<Overflowing<i32>> for Overflowing<u16>
impl TryFrom<Overflowing<i32>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<i32>> for Overflowing<u32>
impl TryFrom<Overflowing<i32>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<i32>> for Overflowing<u64>
impl TryFrom<Overflowing<i32>> for Overflowing<u64>
Source§impl TryFrom<Overflowing<i32>> for Overflowing<u8>
impl TryFrom<Overflowing<i32>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<i64>> for Overflowing<i16>
impl TryFrom<Overflowing<i64>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<i64>> for Overflowing<i32>
impl TryFrom<Overflowing<i64>> for Overflowing<i32>
Source§impl TryFrom<Overflowing<i64>> for Overflowing<i8>
impl TryFrom<Overflowing<i64>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<i64>> for Overflowing<u128>
impl TryFrom<Overflowing<i64>> for Overflowing<u128>
Source§impl TryFrom<Overflowing<i64>> for Overflowing<u16>
impl TryFrom<Overflowing<i64>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<i64>> for Overflowing<u32>
impl TryFrom<Overflowing<i64>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<i64>> for Overflowing<u64>
impl TryFrom<Overflowing<i64>> for Overflowing<u64>
Source§impl TryFrom<Overflowing<i64>> for Overflowing<u8>
impl TryFrom<Overflowing<i64>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<i8>> for Overflowing<u128>
impl TryFrom<Overflowing<i8>> for Overflowing<u128>
Source§impl TryFrom<Overflowing<i8>> for Overflowing<u16>
impl TryFrom<Overflowing<i8>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<i8>> for Overflowing<u32>
impl TryFrom<Overflowing<i8>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<i8>> for Overflowing<u64>
impl TryFrom<Overflowing<i8>> for Overflowing<u64>
Source§impl TryFrom<Overflowing<i8>> for Overflowing<u8>
impl TryFrom<Overflowing<i8>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<i128>
impl TryFrom<Overflowing<isize>> for Overflowing<i128>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<i16>
impl TryFrom<Overflowing<isize>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<i32>
impl TryFrom<Overflowing<isize>> for Overflowing<i32>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<i64>
impl TryFrom<Overflowing<isize>> for Overflowing<i64>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<i8>
impl TryFrom<Overflowing<isize>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<u128>
impl TryFrom<Overflowing<isize>> for Overflowing<u128>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<u16>
impl TryFrom<Overflowing<isize>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<u32>
impl TryFrom<Overflowing<isize>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<u64>
impl TryFrom<Overflowing<isize>> for Overflowing<u64>
Source§impl TryFrom<Overflowing<isize>> for Overflowing<u8>
impl TryFrom<Overflowing<isize>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<i128>
impl TryFrom<Overflowing<u128>> for Overflowing<i128>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<i16>
impl TryFrom<Overflowing<u128>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<i32>
impl TryFrom<Overflowing<u128>> for Overflowing<i32>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<i64>
impl TryFrom<Overflowing<u128>> for Overflowing<i64>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<i8>
impl TryFrom<Overflowing<u128>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<u16>
impl TryFrom<Overflowing<u128>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<u32>
impl TryFrom<Overflowing<u128>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<u64>
impl TryFrom<Overflowing<u128>> for Overflowing<u64>
Source§impl TryFrom<Overflowing<u128>> for Overflowing<u8>
impl TryFrom<Overflowing<u128>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<u16>> for Overflowing<i16>
impl TryFrom<Overflowing<u16>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<u16>> for Overflowing<i8>
impl TryFrom<Overflowing<u16>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<u16>> for Overflowing<u8>
impl TryFrom<Overflowing<u16>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<u32>> for Overflowing<i16>
impl TryFrom<Overflowing<u32>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<u32>> for Overflowing<i32>
impl TryFrom<Overflowing<u32>> for Overflowing<i32>
Source§impl TryFrom<Overflowing<u32>> for Overflowing<i8>
impl TryFrom<Overflowing<u32>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<u32>> for Overflowing<u16>
impl TryFrom<Overflowing<u32>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<u32>> for Overflowing<u8>
impl TryFrom<Overflowing<u32>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<u64>> for Overflowing<i16>
impl TryFrom<Overflowing<u64>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<u64>> for Overflowing<i32>
impl TryFrom<Overflowing<u64>> for Overflowing<i32>
Source§impl TryFrom<Overflowing<u64>> for Overflowing<i64>
impl TryFrom<Overflowing<u64>> for Overflowing<i64>
Source§impl TryFrom<Overflowing<u64>> for Overflowing<i8>
impl TryFrom<Overflowing<u64>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<u64>> for Overflowing<u16>
impl TryFrom<Overflowing<u64>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<u64>> for Overflowing<u32>
impl TryFrom<Overflowing<u64>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<u64>> for Overflowing<u8>
impl TryFrom<Overflowing<u64>> for Overflowing<u8>
Source§impl TryFrom<Overflowing<u8>> for Overflowing<i8>
impl TryFrom<Overflowing<u8>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<i128>
impl TryFrom<Overflowing<usize>> for Overflowing<i128>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<i16>
impl TryFrom<Overflowing<usize>> for Overflowing<i16>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<i32>
impl TryFrom<Overflowing<usize>> for Overflowing<i32>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<i64>
impl TryFrom<Overflowing<usize>> for Overflowing<i64>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<i8>
impl TryFrom<Overflowing<usize>> for Overflowing<i8>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<u128>
impl TryFrom<Overflowing<usize>> for Overflowing<u128>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<u16>
impl TryFrom<Overflowing<usize>> for Overflowing<u16>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<u32>
impl TryFrom<Overflowing<usize>> for Overflowing<u32>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<u64>
impl TryFrom<Overflowing<usize>> for Overflowing<u64>
Source§impl TryFrom<Overflowing<usize>> for Overflowing<u8>
impl TryFrom<Overflowing<usize>> for Overflowing<u8>
Source§impl Zero for Overflowing<i128>
impl Zero for Overflowing<i128>
Source§impl Zero for Overflowing<i16>
impl Zero for Overflowing<i16>
Source§impl Zero for Overflowing<i32>
impl Zero for Overflowing<i32>
Source§impl Zero for Overflowing<i64>
impl Zero for Overflowing<i64>
Source§impl Zero for Overflowing<i8>
impl Zero for Overflowing<i8>
Source§impl Zero for Overflowing<u128>
impl Zero for Overflowing<u128>
Source§impl Zero for Overflowing<u16>
impl Zero for Overflowing<u16>
Source§impl Zero for Overflowing<u32>
impl Zero for Overflowing<u32>
Source§impl Zero for Overflowing<u64>
impl Zero for Overflowing<u64>
Source§impl Zero for Overflowing<u8>
impl Zero for Overflowing<u8>
impl<T: Copy> Copy for Overflowing<T>
impl<T: Eq> Eq for Overflowing<T>
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
Source§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
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 bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
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>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
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 rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
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 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.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
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§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PreferredContainer for T
impl<T> PreferredContainer for T
Source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign
, for types that do not implement AddAssign
.