Enum gstreamer::format::Signed

source ·
pub enum Signed<T> {
    Negative(T),
    Positive(T),
}
Expand description

A signed wrapper.

This wrapper allows representing a signed value from a type which is originally unsigned. In C APIs, this is represented by a tuple with a signed integer positive or negative and the absolute value.

Variants§

§

Negative(T)

§

Positive(T)

Implementations§

source§

impl Signed<ClockTime>

source

pub fn nseconds(self) -> Signed<u64>

Returns the self in nanoseconds.

source

pub fn from_nseconds(val: Signed<u64>) -> Self

Creates new value from nanoseconds.

source

pub fn useconds(self) -> Signed<u64>

Returns the self in microseconds.

source

pub fn from_useconds(val: Signed<u64>) -> Self

Creates new value from microseconds.

source

pub fn mseconds(self) -> Signed<u64>

Returns the self in milliseconds.

source

pub fn from_mseconds(val: Signed<u64>) -> Self

Creates new value from milliseconds.

source

pub fn seconds(self) -> Signed<u64>

Returns the self in seconds.

source

pub fn seconds_f32(self) -> f32

Returns the self in f32 seconds.

source

pub fn seconds_f64(self) -> f64

Returns the self in f64 seconds.

source

pub fn from_seconds(val: Signed<u64>) -> Self

Creates new value from seconds.

source

pub fn try_from_seconds_f32(seconds: f32) -> Result<Self, TryFromFloatSecsError>

Builds a new Signed<ClockTime> which value is the given number of seconds.

Returns an error if seconds is infinite or NaN, or the resulting duration in nanoseconds exceeds the u64 range.

source

pub fn from_seconds_f32(seconds: f32) -> Self

Builds a new Signed<ClockTime> which value is the given number of seconds.

§Panics

Panics if seconds is infinite or NaN, or the resulting duration in nanoseconds exceeds the u64 range.

source

pub fn try_from_seconds_f64(seconds: f64) -> Result<Self, TryFromFloatSecsError>

Builds a new Signed<ClockTime> which value is the given number of seconds.

Returns an error if seconds is infinite or NaN, or the resulting duration in nanoseconds exceeds the u64 range.

source

pub fn from_seconds_f64(seconds: f64) -> Self

Builds a new Signed<ClockTime> which value is the given number of seconds.

§Panics

Panics if seconds is infinite or NaN, or the resulting duration in nanoseconds exceeds the u64 range.

source§

impl Signed<ClockTime>

source

pub fn into_inner_signed(self) -> Signed<u64>

Returns a Signed containing the inner type of self.

source§

impl Signed<ClockTime>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: ClockTime) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: ClockTime) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: ClockTime) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: ClockTime) -> Self

Returns the saturating addition self + other.

source§

impl Signed<ClockTime>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: i64) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: u64) -> Self

source§

impl Signed<Other>

source

pub fn into_inner_signed(self) -> Signed<u64>

Returns a Signed containing the inner type of self.

source§

impl Signed<Other>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: Other) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: Other) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: Other) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: Other) -> Self

Returns the saturating addition self + other.

source§

impl Signed<Other>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: i64) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: u64) -> Self

source§

impl<T> Signed<T>

source

pub fn is_positive(self) -> bool

source

pub fn positive(self) -> Option<T>

Returns Some(value), where value is the inner value, if self is positive.

source

pub fn positive_or<E>(self, err: E) -> Result<T, E>

Transforms the Signed<T> into a Result<T, E>, mapping Positive(v) to Ok(v) and Negative(_) to Err(err).

source

pub fn positive_or_else<E, F: FnOnce(T) -> E>(self, err: F) -> Result<T, E>

Transforms the Signed<T> into a Result<T, E>, mapping Positive(v) to Ok(v) and Negative(v) to Err(err(v)).

source

pub fn is_negative(self) -> bool

source

pub fn negative(self) -> Option<T>

Returns Some(value), where value is the inner value, if self is negative.

source

pub fn negative_or<E>(self, err: E) -> Result<T, E>

Transforms the Signed<T> into a Result<T, E>, mapping Negative(v) to Ok(v) and Positive(_) to Err(err).

source

pub fn negative_or_else<E, F: FnOnce(T) -> E>(self, err: F) -> Result<T, E>

Transforms the Signed<T> into a Result<T, E>, mapping Negative(v) to Ok(v) and Positive(_) to Err(err(v)).

source

pub fn abs(self) -> T

Returns the absolute value of self.

source§

impl<T> Signed<Option<T>>

source

pub fn transpose(self) -> Option<Signed<T>>

Transposes a Signed Option into an Option of a Signed.

Note that if the inner value was None, the sign is lost.

source§

impl Signed<u64>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: u64) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: u64) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: u64) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: u64) -> Self

Returns the saturating addition self + other.

source§

impl Signed<u64>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: i64) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: u64) -> Self

source§

impl Signed<u32>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: u32) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: u32) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: u32) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: u32) -> Self

Returns the saturating addition self + other.

source§

impl Signed<u32>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: i32) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: u32) -> Self

source§

impl Signed<usize>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: usize) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: usize) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: usize) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: usize) -> Self

Returns the saturating addition self + other.

source§

impl Signed<usize>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: isize) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: usize) -> Self

source§

impl Signed<Buffers>

source

pub fn into_inner_signed(self) -> Signed<u64>

Returns a Signed containing the inner type of self.

source§

impl Signed<Buffers>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: Buffers) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: Buffers) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: Buffers) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: Buffers) -> Self

Returns the saturating addition self + other.

source§

impl Signed<Buffers>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: i64) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: u64) -> Self

source§

impl Signed<Bytes>

source

pub fn into_inner_signed(self) -> Signed<u64>

Returns a Signed containing the inner type of self.

source§

impl Signed<Bytes>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: Bytes) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: Bytes) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: Bytes) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: Bytes) -> Self

Returns the saturating addition self + other.

source§

impl Signed<Bytes>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: i64) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: u64) -> Self

source§

impl Signed<Default>

source

pub fn into_inner_signed(self) -> Signed<u64>

Returns a Signed containing the inner type of self.

source§

impl Signed<Default>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: Default) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: Default) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: Default) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: Default) -> Self

Returns the saturating addition self + other.

source§

impl Signed<Default>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: i64) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: u64) -> Self

source§

impl Signed<Percent>

source

pub fn into_inner_signed(self) -> Signed<u32>

Returns a Signed containing the inner type of self.

source§

impl Signed<Percent>

source

pub fn signum(self) -> i32

Returns the signum for this Signed.

Returns:

  • 0 if the number is zero.
  • 1 if the value must be considered as positive.
  • -1 if the value must be considered as negative.
source

pub fn checked_sub(self, other: Self) -> Option<Self>

Returns the checked subtraction self - other.

source

pub fn checked_sub_unsigned(self, other: Percent) -> Option<Self>

Returns the checked subtraction self - other.

source

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

Returns the checked addition self + other.

source

pub fn checked_add_unsigned(self, other: Percent) -> Option<Self>

Returns the checked addition self + other.

source

pub fn saturating_sub(self, other: Self) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_sub_unsigned(self, other: Percent) -> Self

Returns the saturating subtraction self - other.

source

pub fn saturating_add(self, other: Self) -> Self

Returns the saturating addition self + other.

source

pub fn saturating_add_unsigned(self, other: Percent) -> Self

Returns the saturating addition self + other.

source§

impl Signed<Percent>

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn saturating_mul(self, rhs: i32) -> Self

source

pub fn saturating_mul_unsigned(self, rhs: u32) -> Self

Trait Implementations§

source§

impl Add<Buffers> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting type after applying the + operator.
source§

fn add(self, other: Buffers) -> Self

Performs the + operation. Read more
source§

impl Add<Bytes> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting type after applying the + operator.
source§

fn add(self, other: Bytes) -> Self

Performs the + operation. Read more
source§

impl Add<ClockTime> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting type after applying the + operator.
source§

fn add(self, other: ClockTime) -> Self

Performs the + operation. Read more
source§

impl Add<Default> for Signed<Default>

§

type Output = Signed<Default>

The resulting type after applying the + operator.
source§

fn add(self, other: Default) -> Self

Performs the + operation. Read more
source§

impl Add<Other> for Signed<Other>

§

type Output = Signed<Other>

The resulting type after applying the + operator.
source§

fn add(self, other: Other) -> Self

Performs the + operation. Read more
source§

impl Add<Percent> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting type after applying the + operator.
source§

fn add(self, other: Percent) -> Self

Performs the + operation. Read more
source§

impl Add<Signed<Buffers>> for Buffers

§

type Output = Signed<Buffers>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<Buffers>) -> Signed<Buffers>

Performs the + operation. Read more
source§

impl Add<Signed<Bytes>> for Bytes

§

type Output = Signed<Bytes>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<Bytes>) -> Signed<Bytes>

Performs the + operation. Read more
source§

impl Add<Signed<ClockTime>> for ClockTime

§

type Output = Signed<ClockTime>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<ClockTime>) -> Signed<ClockTime>

Performs the + operation. Read more
source§

impl Add<Signed<Default>> for Default

§

type Output = Signed<Default>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<Default>) -> Signed<Default>

Performs the + operation. Read more
source§

impl Add<Signed<Other>> for Other

§

type Output = Signed<Other>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<Other>) -> Signed<Other>

Performs the + operation. Read more
source§

impl Add<Signed<Percent>> for Percent

§

type Output = Signed<Percent>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<Percent>) -> Signed<Percent>

Performs the + operation. Read more
source§

impl Add<Signed<u32>> for u32

§

type Output = Signed<u32>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<u32>) -> Signed<u32>

Performs the + operation. Read more
source§

impl Add<Signed<u64>> for u64

§

type Output = Signed<u64>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<u64>) -> Signed<u64>

Performs the + operation. Read more
source§

impl Add<Signed<usize>> for usize

§

type Output = Signed<usize>

The resulting type after applying the + operator.
source§

fn add(self, other: Signed<usize>) -> Signed<usize>

Performs the + operation. Read more
source§

impl Add<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting type after applying the + operator.
source§

fn add(self, other: u32) -> Self

Performs the + operation. Read more
source§

impl Add<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting type after applying the + operator.
source§

fn add(self, other: u64) -> Self

Performs the + operation. Read more
source§

impl Add<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting type after applying the + operator.
source§

fn add(self, other: usize) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<Default>

§

type Output = Signed<Default>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<Other>

§

type Output = Signed<Other>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<Percent>

§

type Output = Signed<Percent>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<u32>

§

type Output = Signed<u32>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<u64>

§

type Output = Signed<u64>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for Signed<usize>

§

type Output = Signed<usize>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl AddAssign<Buffers> for Signed<Buffers>

source§

fn add_assign(&mut self, other: Buffers)

Performs the += operation. Read more
source§

impl AddAssign<Bytes> for Signed<Bytes>

source§

fn add_assign(&mut self, other: Bytes)

Performs the += operation. Read more
source§

impl AddAssign<ClockTime> for Signed<ClockTime>

source§

fn add_assign(&mut self, other: ClockTime)

Performs the += operation. Read more
source§

impl AddAssign<Default> for Signed<Default>

source§

fn add_assign(&mut self, other: Default)

Performs the += operation. Read more
source§

impl AddAssign<Other> for Signed<Other>

source§

fn add_assign(&mut self, other: Other)

Performs the += operation. Read more
source§

impl AddAssign<Percent> for Signed<Percent>

source§

fn add_assign(&mut self, other: Percent)

Performs the += operation. Read more
source§

impl AddAssign<u32> for Signed<u32>

source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
source§

impl AddAssign<u64> for Signed<u64>

source§

fn add_assign(&mut self, other: u64)

Performs the += operation. Read more
source§

impl AddAssign<usize> for Signed<usize>

source§

fn add_assign(&mut self, other: usize)

Performs the += operation. Read more
source§

impl AddAssign for Signed<Buffers>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for Signed<Bytes>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for Signed<ClockTime>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for Signed<Default>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for Signed<Other>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for Signed<Percent>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for Signed<u32>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for Signed<u64>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for Signed<usize>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl<T: Clone> Clone for Signed<T>

source§

fn clone(&self) -> Signed<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: Debug> Debug for Signed<T>

source§

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

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

impl<'de, T> Deserialize<'de> for Signed<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<T> Display for Signed<T>

source§

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

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

impl<T> Displayable for Signed<Option<T>>

source§

impl<T> Displayable for Signed<T>

§

type DisplayImpl = Signed<T>

source§

fn display(self) -> Self::DisplayImpl

source§

impl Div<i32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i32> for Signed<u32>

§

type Output = Signed<u32>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i64> for Signed<Default>

§

type Output = Signed<Default>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i64> for Signed<Other>

§

type Output = Signed<Other>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i64> for Signed<u64>

§

type Output = Signed<u64>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<isize> for Signed<usize>

§

type Output = Signed<usize>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<u32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<u64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<u64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<u64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<u64> for Signed<Default>

§

type Output = Signed<Default>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<u64> for Signed<Other>

§

type Output = Signed<Other>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<Buffers>

§

type Output = Signed<u64>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<Bytes>

§

type Output = Signed<u64>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<ClockTime>

§

type Output = Signed<u64>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<Default>

§

type Output = Signed<u64>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<Other>

§

type Output = Signed<u64>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<Percent>

§

type Output = Signed<u32>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<u32>

§

type Output = Signed<u32>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<u64>

§

type Output = Signed<u64>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div for Signed<usize>

§

type Output = Signed<usize>

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl DivAssign<i32> for Signed<Percent>

source§

fn div_assign(&mut self, rhs: i32)

Performs the /= operation. Read more
source§

impl DivAssign<i32> for Signed<u32>

source§

fn div_assign(&mut self, rhs: i32)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for Signed<Buffers>

source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for Signed<Bytes>

source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for Signed<ClockTime>

source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for Signed<Default>

source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for Signed<Other>

source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for Signed<u64>

source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
source§

impl DivAssign<isize> for Signed<usize>

source§

fn div_assign(&mut self, rhs: isize)

Performs the /= operation. Read more
source§

impl DivAssign<u32> for Signed<Percent>

source§

fn div_assign(&mut self, rhs: u32)

Performs the /= operation. Read more
source§

impl DivAssign<u32> for Signed<u32>

source§

fn div_assign(&mut self, rhs: u32)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for Signed<Buffers>

source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for Signed<Bytes>

source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for Signed<ClockTime>

source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for Signed<Default>

source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for Signed<Other>

source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for Signed<u64>

source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
source§

impl DivAssign<usize> for Signed<usize>

source§

fn div_assign(&mut self, rhs: usize)

Performs the /= operation. Read more
source§

impl From<Buffers> for Signed<Buffers>

source§

fn from(v: Buffers) -> Signed<Buffers>

Converts to this type from the input type.
source§

impl From<Bytes> for Signed<Bytes>

source§

fn from(v: Bytes) -> Signed<Bytes>

Converts to this type from the input type.
source§

impl From<ClockTime> for Signed<ClockTime>

source§

fn from(v: ClockTime) -> Signed<ClockTime>

Converts to this type from the input type.
source§

impl From<Default> for Signed<Default>

source§

fn from(v: Default) -> Signed<Default>

Converts to this type from the input type.
source§

impl From<Other> for Signed<Other>

source§

fn from(v: Other) -> Signed<Other>

Converts to this type from the input type.
source§

impl From<Percent> for Signed<Percent>

source§

fn from(v: Percent) -> Signed<Percent>

Converts to this type from the input type.
source§

impl From<Undefined> for Signed<u64>

source§

fn from(val: Undefined) -> Signed<u64>

Converts to this type from the input type.
source§

impl From<i32> for Signed<Percent>

source§

fn from(value: i32) -> Signed<Percent>

Converts to this type from the input type.
source§

impl From<i32> for Signed<u32>

source§

fn from(value: i32) -> Signed<u32>

Converts to this type from the input type.
source§

impl From<i64> for Signed<Buffers>

source§

fn from(value: i64) -> Signed<Buffers>

Converts to this type from the input type.
source§

impl From<i64> for Signed<Bytes>

source§

fn from(value: i64) -> Signed<Bytes>

Converts to this type from the input type.
source§

impl From<i64> for Signed<ClockTime>

source§

fn from(value: i64) -> Signed<ClockTime>

Converts to this type from the input type.
source§

impl From<i64> for Signed<Default>

source§

fn from(value: i64) -> Signed<Default>

Converts to this type from the input type.
source§

impl From<i64> for Signed<Other>

source§

fn from(value: i64) -> Signed<Other>

Converts to this type from the input type.
source§

impl From<i64> for Signed<u64>

source§

fn from(value: i64) -> Signed<u64>

Converts to this type from the input type.
source§

impl From<isize> for Signed<usize>

source§

fn from(value: isize) -> Signed<usize>

Converts to this type from the input type.
source§

impl From<u32> for Signed<u32>

source§

fn from(v: u32) -> Signed<u32>

Converts to this type from the input type.
source§

impl From<u64> for Signed<u64>

source§

fn from(v: u64) -> Signed<u64>

Converts to this type from the input type.
source§

impl From<usize> for Signed<usize>

source§

fn from(v: usize) -> Signed<usize>

Converts to this type from the input type.
source§

impl<T: Hash> Hash for Signed<T>

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 Mul<Signed<Buffers>> for i64

§

type Output = Signed<Buffers>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Buffers>> for u64

§

type Output = Signed<Buffers>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Bytes>> for i64

§

type Output = Signed<Bytes>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Bytes>> for u64

§

type Output = Signed<Bytes>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<ClockTime>> for i64

§

type Output = Signed<ClockTime>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<ClockTime>> for u64

§

type Output = Signed<ClockTime>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Default>> for i64

§

type Output = Signed<Default>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Default>> for u64

§

type Output = Signed<Default>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Other>> for i64

§

type Output = Signed<Other>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Other>> for u64

§

type Output = Signed<Other>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Percent>> for i32

§

type Output = Signed<Percent>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Signed<Percent>> for u32

§

type Output = Signed<Percent>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i32> for Signed<u32>

§

type Output = Signed<u32>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i64> for Signed<Default>

§

type Output = Signed<Default>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i64> for Signed<Other>

§

type Output = Signed<Other>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i64> for Signed<u64>

§

type Output = Signed<u64>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<isize> for Signed<usize>

§

type Output = Signed<usize>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<u32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<u64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<u64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<u64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<u64> for Signed<Default>

§

type Output = Signed<Default>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<u64> for Signed<Other>

§

type Output = Signed<Other>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl MulAssign<i32> for Signed<Percent>

source§

fn mul_assign(&mut self, rhs: i32)

Performs the *= operation. Read more
source§

impl MulAssign<i32> for Signed<u32>

source§

fn mul_assign(&mut self, rhs: i32)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for Signed<Buffers>

source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for Signed<Bytes>

source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for Signed<ClockTime>

source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for Signed<Default>

source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for Signed<Other>

source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for Signed<u64>

source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
source§

impl MulAssign<isize> for Signed<usize>

source§

fn mul_assign(&mut self, rhs: isize)

Performs the *= operation. Read more
source§

impl MulAssign<u32> for Signed<Percent>

source§

fn mul_assign(&mut self, rhs: u32)

Performs the *= operation. Read more
source§

impl MulAssign<u32> for Signed<u32>

source§

fn mul_assign(&mut self, rhs: u32)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for Signed<Buffers>

source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for Signed<Bytes>

source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for Signed<ClockTime>

source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for Signed<Default>

source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for Signed<Other>

source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for Signed<u64>

source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
source§

impl MulAssign<usize> for Signed<usize>

source§

fn mul_assign(&mut self, rhs: usize)

Performs the *= operation. Read more
source§

impl MulDiv<i32> for Signed<Percent>

§

type Output = Signed<Percent>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: i32, denom: i32) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: i32, denom: i32) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: i32, denom: i32) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<i32> for Signed<u32>

§

type Output = Signed<u32>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: i32, denom: i32) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: i32, denom: i32) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: i32, denom: i32) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<i64> for Signed<Buffers>

§

type Output = Signed<Buffers>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: i64, denom: i64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: i64, denom: i64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: i64, denom: i64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<i64> for Signed<Bytes>

§

type Output = Signed<Bytes>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: i64, denom: i64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: i64, denom: i64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: i64, denom: i64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<i64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: i64, denom: i64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: i64, denom: i64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: i64, denom: i64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<i64> for Signed<Default>

§

type Output = Signed<Default>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: i64, denom: i64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: i64, denom: i64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: i64, denom: i64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<i64> for Signed<Other>

§

type Output = Signed<Other>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: i64, denom: i64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: i64, denom: i64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: i64, denom: i64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<i64> for Signed<u64>

§

type Output = Signed<u64>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: i64, denom: i64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: i64, denom: i64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: i64, denom: i64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<u32> for Signed<Percent>

§

type Output = Signed<Percent>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: u32, denom: u32) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: u32, denom: u32) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: u32, denom: u32) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<u32> for Signed<u32>

§

type Output = Signed<u32>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: u32, denom: u32) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: u32, denom: u32) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: u32, denom: u32) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<u64> for Signed<Buffers>

§

type Output = Signed<Buffers>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: u64, denom: u64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: u64, denom: u64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: u64, denom: u64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<u64> for Signed<Bytes>

§

type Output = Signed<Bytes>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: u64, denom: u64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: u64, denom: u64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: u64, denom: u64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<u64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: u64, denom: u64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: u64, denom: u64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: u64, denom: u64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<u64> for Signed<Default>

§

type Output = Signed<Default>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: u64, denom: u64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: u64, denom: u64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: u64, denom: u64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<u64> for Signed<Other>

§

type Output = Signed<Other>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: u64, denom: u64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: u64, denom: u64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: u64, denom: u64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl MulDiv<u64> for Signed<u64>

§

type Output = Signed<u64>

Output type for the methods of this trait.
source§

fn mul_div_floor(self, num: u64, denom: u64) -> Option<Self>

Calculates floor(val * num / denom), i.e. the largest integer less than or equal to the result of the division. Read more
source§

fn mul_div_round(self, num: u64, denom: u64) -> Option<Self>

Calculates round(val * num / denom), i.e. the closest integer to the result of the division. If both surrounding integers are the same distance (x.5), the one with the bigger absolute value is returned (round away from 0.0). Read more
source§

fn mul_div_ceil(self, num: u64, denom: u64) -> Option<Self>

Calculates ceil(val * num / denom), i.e. the the smallest integer greater than or equal to the result of the division. Read more
source§

impl<T> Neg for Signed<T>

§

type Output = Signed<T>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl OptionCheckedAdd<Buffers> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Buffers) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Bytes> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Bytes) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<ClockTime> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: ClockTime) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Default> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Default) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Other> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Other) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Percent> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Percent) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<Buffers>> for Buffers

§

type Output = Signed<Buffers>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<Buffers>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<Bytes>> for Bytes

§

type Output = Signed<Bytes>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<Bytes>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<ClockTime>> for ClockTime

§

type Output = Signed<ClockTime>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<ClockTime>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<Default>> for Default

§

type Output = Signed<Default>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<Default>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<Other>> for Other

§

type Output = Signed<Other>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<Other>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<Percent>> for Percent

§

type Output = Signed<Percent>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<Percent>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<u32>> for u32

§

type Output = Signed<u32>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<u32>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<u64>> for u64

§

type Output = Signed<u64>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<u64>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<Signed<usize>> for usize

§

type Output = Signed<usize>

The resulting inner type after applying the addition.
source§

fn opt_checked_add( self, rhs: Signed<usize>, ) -> Result<Option<Self::Output>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: u32) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: usize) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedAdd for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the addition.
source§

fn opt_checked_add(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked addition. Read more
source§

impl OptionCheckedDiv<i32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: i32) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<i32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: i32) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<i64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<i64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<i64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<i64> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<i64> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<i64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<isize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: isize) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<u32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: u32) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: u32) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<u64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<u64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<u64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<u64> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<u64> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: usize) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<Buffers>

§

type Output = Signed<u64>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<Bytes>

§

type Output = Signed<u64>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<ClockTime>

§

type Output = Signed<u64>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<Default>

§

type Output = Signed<u64>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<Other>

§

type Output = Signed<u64>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<Percent>

§

type Output = Signed<u32>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedDiv for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the division.
source§

fn opt_checked_div(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked division. Read more
source§

impl OptionCheckedMul<Signed<Buffers>> for i64

§

type Output = Signed<Buffers>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Buffers>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Buffers>> for u64

§

type Output = Signed<Buffers>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Buffers>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Bytes>> for i64

§

type Output = Signed<Bytes>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Bytes>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Bytes>> for u64

§

type Output = Signed<Bytes>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Bytes>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<ClockTime>> for i64

§

type Output = Signed<ClockTime>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<ClockTime>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<ClockTime>> for u64

§

type Output = Signed<ClockTime>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<ClockTime>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Default>> for i64

§

type Output = Signed<Default>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Default>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Default>> for u64

§

type Output = Signed<Default>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Default>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Other>> for i64

§

type Output = Signed<Other>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Other>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Other>> for u64

§

type Output = Signed<Other>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Other>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Percent>> for i32

§

type Output = Signed<Percent>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Percent>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<Signed<Percent>> for u32

§

type Output = Signed<Percent>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul( self, rhs: Signed<Percent>, ) -> Result<Option<Self::Output>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<i32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: i32) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<i32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: i32) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<i64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<i64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<i64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<i64> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<i64> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<i64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<isize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: isize) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<u32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: u32) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: u32) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<u64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<u64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<u64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<u64> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<u64> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedMul<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the multiplication.
source§

fn opt_checked_mul(self, rhs: usize) -> Result<Option<Self>, Error>

Computes the checked multiplication. Read more
source§

impl OptionCheckedRem<i32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: i32) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<i32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: i32) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<i64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<i64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<i64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<i64> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<i64> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<i64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: i64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<isize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: isize) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<u32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: u32) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: u32) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<u64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<u64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<u64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<u64> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<u64> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: usize) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<Buffers>

§

type Output = Signed<u64>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<Bytes>

§

type Output = Signed<u64>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<ClockTime>

§

type Output = Signed<u64>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<Default>

§

type Output = Signed<u64>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<Other>

§

type Output = Signed<u64>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<Percent>

§

type Output = Signed<u32>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self::Output>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedRem for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the remainder.
source§

fn opt_checked_rem(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked remainder. Read more
source§

impl OptionCheckedSub<Buffers> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Buffers) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Bytes> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Bytes) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<ClockTime> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: ClockTime) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Default> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Default) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Other> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Other) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Percent> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Percent) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<Buffers>> for Buffers

§

type Output = Signed<Buffers>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<Buffers>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<Bytes>> for Bytes

§

type Output = Signed<Bytes>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<Bytes>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<ClockTime>> for ClockTime

§

type Output = Signed<ClockTime>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<ClockTime>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<Default>> for Default

§

type Output = Signed<Default>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<Default>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<Other>> for Other

§

type Output = Signed<Other>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<Other>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<Percent>> for Percent

§

type Output = Signed<Percent>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<Percent>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<u32>> for u32

§

type Output = Signed<u32>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<u32>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<u64>> for u64

§

type Output = Signed<u64>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<u64>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<Signed<usize>> for usize

§

type Output = Signed<usize>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub( self, rhs: Signed<usize>, ) -> Result<Option<Self::Output>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: u32) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: u64) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: usize) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionCheckedSub for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the substraction.
source§

fn opt_checked_sub(self, rhs: Self) -> Result<Option<Self>, Error>

Computes the checked substraction. Read more
source§

impl OptionSaturatingAdd<Buffers> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Buffers) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Bytes> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Bytes) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<ClockTime> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: ClockTime) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Default> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Default) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Other> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Other) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Percent> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Percent) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<Buffers>> for Buffers

§

type Output = Signed<Buffers>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<Buffers>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<Bytes>> for Bytes

§

type Output = Signed<Bytes>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<Bytes>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<ClockTime>> for ClockTime

§

type Output = Signed<ClockTime>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<ClockTime>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<Default>> for Default

§

type Output = Signed<Default>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<Default>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<Other>> for Other

§

type Output = Signed<Other>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<Other>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<Percent>> for Percent

§

type Output = Signed<Percent>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<Percent>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<u32>> for u32

§

type Output = Signed<u32>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<u32>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<u64>> for u64

§

type Output = Signed<u64>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<u64>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<Signed<usize>> for usize

§

type Output = Signed<usize>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: Signed<usize>) -> Option<Self::Output>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: u32) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<u64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: u64) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd<usize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the addition.
source§

fn opt_saturating_add(self, rhs: usize) -> Option<Self>

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingAdd for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the addition.
source§

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

Computes the addition saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Buffers>> for i64

§

type Output = Signed<Buffers>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Buffers>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Buffers>> for u64

§

type Output = Signed<Buffers>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Buffers>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Bytes>> for i64

§

type Output = Signed<Bytes>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Bytes>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Bytes>> for u64

§

type Output = Signed<Bytes>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Bytes>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<ClockTime>> for i64

§

type Output = Signed<ClockTime>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<ClockTime>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<ClockTime>> for u64

§

type Output = Signed<ClockTime>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<ClockTime>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Default>> for i64

§

type Output = Signed<Default>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Default>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Default>> for u64

§

type Output = Signed<Default>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Default>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Other>> for i64

§

type Output = Signed<Other>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Other>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Other>> for u64

§

type Output = Signed<Other>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Other>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Percent>> for i32

§

type Output = Signed<Percent>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Percent>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<Signed<Percent>> for u32

§

type Output = Signed<Percent>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: Signed<Percent>) -> Option<Self::Output>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<i32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: i32) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<i32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: i32) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<i64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: i64) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<i64> for Signed<Bytes>

§

type Output = Signed<Bytes>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: i64) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<i64> for Signed<ClockTime>

§

type Output = Signed<ClockTime>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: i64) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<i64> for Signed<Default>

§

type Output = Signed<Default>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: i64) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<i64> for Signed<Other>

§

type Output = Signed<Other>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: i64) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<i64> for Signed<u64>

§

type Output = Signed<u64>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: i64) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<isize> for Signed<usize>

§

type Output = Signed<usize>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: isize) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<u32> for Signed<Percent>

§

type Output = Signed<Percent>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: u32) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<u32> for Signed<u32>

§

type Output = Signed<u32>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: u32) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<u64> for Signed<Buffers>

§

type Output = Signed<Buffers>

The resulting inner type after applying the multiplication.
source§

fn opt_saturating_mul(self, rhs: u64) -> Option<Self>

Computes the multiplication saturating at the numeric bounds instead of overflowing. Read more
source§

impl OptionSaturatingMul<u64> for Signed<Bytes>