pub struct ClockTime(_);
Implementations§
source§impl ClockTime
impl ClockTime
pub const SECOND: ClockTime = _
pub const MSECOND: ClockTime = _
pub const USECOND: ClockTime = _
pub const NSECOND: ClockTime = _
pub const MAX: ClockTime = _
pub const fn hours(self) -> u64
pub const fn minutes(self) -> u64
pub const fn seconds(self) -> u64
pub const fn mseconds(self) -> u64
pub const fn useconds(self) -> u64
pub const fn nseconds(self) -> u64
sourcepub const fn from_seconds(seconds: u64) -> Self
pub const fn from_seconds(seconds: u64) -> Self
Builds a new ClockTime
which value is the given number of seconds.
Panics
Panics if the resulting duration in nanoseconds exceeds the u64
range.
sourcepub const fn from_mseconds(mseconds: u64) -> Self
pub const fn from_mseconds(mseconds: u64) -> Self
Builds a new ClockTime
which value is the given number of milliseconds.
Panics
Panics if the resulting duration in nanoseconds exceeds the u64
range.
sourcepub const fn from_useconds(useconds: u64) -> Self
pub const fn from_useconds(useconds: u64) -> Self
Builds a new ClockTime
which value is the given number of microseconds.
Panics
Panics if the resulting duration in nanoseconds exceeds the u64
range.
sourcepub const fn from_nseconds(nseconds: u64) -> Self
pub const fn from_nseconds(nseconds: u64) -> Self
Builds a new ClockTime
which value is the given number of nanoseconds.
Panics
Panics if the requested duration equals GST_CLOCK_TIME_NONE
(u64::MAX
).
source§impl ClockTime
impl ClockTime
pub const fn checked_add(self, rhs: Self) -> Option<Self>
pub const fn saturating_add(self, rhs: Self) -> Self
pub fn overflowing_add(self, rhs: Self) -> (Self, bool)
pub fn wrapping_add(self, rhs: Self) -> Self
pub const fn checked_sub(self, rhs: Self) -> Option<Self>
pub const fn saturating_sub(self, rhs: Self) -> Self
pub const fn overflowing_sub(self, rhs: Self) -> (Self, bool)
pub const fn wrapping_sub(self, rhs: Self) -> Self
source§impl ClockTime
impl ClockTime
pub const fn checked_div(self, rhs: u64) -> Option<Self>
pub const fn saturating_div(self, rhs: u64) -> Self
pub const fn checked_mul(self, rhs: u64) -> Option<Self>
pub const fn saturating_mul(self, rhs: u64) -> Self
pub fn overflowing_mul(self, rhs: u64) -> (Self, bool)
pub fn wrapping_mul(self, rhs: u64) -> Self
pub const fn checked_rem(self, rhs: u64) -> Option<Self>
Methods from Deref<Target = u64>§
Trait Implementations§
source§impl AddAssign<ClockTime> for ClockTime
impl AddAssign<ClockTime> for ClockTime
source§fn add_assign(&mut self, rhs: ClockTime)
fn add_assign(&mut self, rhs: ClockTime)
Performs the
+=
operation. Read moresource§impl AddAssign<ClockTime> for Signed<ClockTime>
impl AddAssign<ClockTime> for Signed<ClockTime>
source§fn add_assign(&mut self, other: ClockTime)
fn add_assign(&mut self, other: ClockTime)
Performs the
+=
operation. Read moresource§impl<'de> Deserialize<'de> for ClockTime
impl<'de> Deserialize<'de> for ClockTime
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Displayable for ClockTime
impl Displayable for ClockTime
source§impl DivAssign<u64> for ClockTime
impl DivAssign<u64> for ClockTime
source§fn div_assign(&mut self, rhs: u64)
fn div_assign(&mut self, rhs: u64)
Performs the
/=
operation. Read moresource§impl FormattedValue for ClockTime
impl FormattedValue for ClockTime
source§impl From<ClockTime> for GenericFormattedValue
impl From<ClockTime> for GenericFormattedValue
source§impl<'a> FromValue<'a> for ClockTime
impl<'a> FromValue<'a> for ClockTime
§type Checker = ClockTimeValueTypeOrNoneChecker
type Checker = ClockTimeValueTypeOrNoneChecker
Value type checker.
source§impl MulAssign<u64> for ClockTime
impl MulAssign<u64> for ClockTime
source§fn mul_assign(&mut self, rhs: u64)
fn mul_assign(&mut self, rhs: u64)
Performs the
*=
operation. Read moresource§impl MulDiv<u64> for ClockTime
impl MulDiv<u64> for ClockTime
source§fn mul_div_floor(self, num: u64, denom: u64) -> Option<Self>
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 moresource§fn mul_div_round(self, num: u64, denom: u64) -> Option<Self>
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 moresource§impl Ord for ClockTime
impl Ord for ClockTime
source§impl PartialEq<ClockTime> for ClockTime
impl PartialEq<ClockTime> for ClockTime
source§impl PartialEq<ClockTime> for Signed<ClockTime>
impl PartialEq<ClockTime> for Signed<ClockTime>
source§impl PartialEq<Signed<ClockTime>> for ClockTime
impl PartialEq<Signed<ClockTime>> for ClockTime
source§impl PartialOrd<ClockTime> for ClockTime
impl PartialOrd<ClockTime> for ClockTime
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<ClockTime> for Signed<ClockTime>
impl PartialOrd<ClockTime> for Signed<ClockTime>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<Signed<ClockTime>> for ClockTime
impl PartialOrd<Signed<ClockTime>> for ClockTime
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RemAssign<u64> for ClockTime
impl RemAssign<u64> for ClockTime
source§fn rem_assign(&mut self, rhs: u64)
fn rem_assign(&mut self, rhs: u64)
Performs the
%=
operation. Read moresource§impl SubAssign<ClockTime> for ClockTime
impl SubAssign<ClockTime> for ClockTime
source§fn sub_assign(&mut self, rhs: ClockTime)
fn sub_assign(&mut self, rhs: ClockTime)
Performs the
-=
operation. Read moresource§impl SubAssign<ClockTime> for Signed<ClockTime>
impl SubAssign<ClockTime> for Signed<ClockTime>
source§fn sub_assign(&mut self, other: ClockTime)
fn sub_assign(&mut self, other: ClockTime)
Performs the
-=
operation. Read moresource§impl ToValueOptional for ClockTime
impl ToValueOptional for ClockTime
source§impl TryFrom<u64> for ClockTime
impl TryFrom<u64> for ClockTime
§type Error = GlibNoneError
type Error = GlibNoneError
The type returned in the event of a conversion error.
source§impl TryFromGlib<i64> for ClockTime
impl TryFromGlib<i64> for ClockTime
type Error = GlibNoneError
unsafe fn try_from_glib(val: i64) -> Result<Self, GlibNoneError>
source§impl UnsignedIntoSigned for ClockTime
impl UnsignedIntoSigned for ClockTime
type Signed = Signed<ClockTime>
source§fn into_positive(self) -> Self::Signed
fn into_positive(self) -> Self::Signed
Converts
self
into a Signed::Positive
.source§fn into_negative(self) -> Self::Signed
fn into_negative(self) -> Self::Signed
Converts
self
into a Signed::Negative
.source§fn into_signed(self, sign: i32) -> Self::Signed
fn into_signed(self, sign: i32) -> Self::Signed
Converts
self
into a Signed
matching the given sign
.impl Copy for ClockTime
impl Eq for ClockTime
impl FormattedValueIntrinsic for ClockTime
impl OptionOperations for ClockTime
impl SignedIntrinsic for ClockTime
impl SpecificFormattedValue for ClockTime
impl SpecificFormattedValueIntrinsic for ClockTime
impl StructuralEq for ClockTime
impl StructuralPartialEq for ClockTime
Auto Trait Implementations§
impl RefUnwindSafe for ClockTime
impl Send for ClockTime
impl Sync for ClockTime
impl Unpin for ClockTime
impl UnwindSafe for ClockTime
Blanket Implementations§
source§impl<T, InnerRhs> OptionAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§impl<T, InnerRhs> OptionAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAdd<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAdd<InnerRhs, InnerRhs>,
source§impl<T, Rhs> OptionAdd<Rhs, Rhs> for Twhere
T: OptionOperations + Add<Rhs>,
impl<T, Rhs> OptionAdd<Rhs, Rhs> for Twhere
T: OptionOperations + Add<Rhs>,
source§impl<T, InnerRhs> OptionAddAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAddAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionAddAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAddAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§fn opt_add_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_add_assign(&mut self, rhs: &Option<InnerRhs>)
Performs the addition assignment. Read more
source§impl<T, InnerRhs> OptionAddAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAddAssign<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionAddAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAddAssign<InnerRhs, InnerRhs>,
source§fn opt_add_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_add_assign(&mut self, rhs: Option<InnerRhs>)
Performs the addition assignment. Read more
source§impl<T, Rhs> OptionAddAssign<Rhs, Rhs> for Twhere
T: OptionOperations + AddAssign<Rhs>,
impl<T, Rhs> OptionAddAssign<Rhs, Rhs> for Twhere
T: OptionOperations + AddAssign<Rhs>,
source§fn opt_add_assign(&mut self, rhs: Rhs)
fn opt_add_assign(&mut self, rhs: Rhs)
Performs the addition assignment. Read more
source§impl<T, InnerRhs> OptionCheckedAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionCheckedAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionCheckedAdd<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedAdd<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the addition.
source§impl<T, InnerRhs> OptionCheckedAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedAdd<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionCheckedAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedAdd<InnerRhs, InnerRhs>,
§type Output = <T as OptionCheckedAdd<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedAdd<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the addition.
source§impl<T, InnerRhs> OptionCheckedDiv<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedDiv<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionCheckedDiv<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedDiv<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionCheckedDiv<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedDiv<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the division.
source§impl<T, InnerRhs> OptionCheckedDiv<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedDiv<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionCheckedDiv<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedDiv<InnerRhs, InnerRhs>,
§type Output = <T as OptionCheckedDiv<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedDiv<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the division.
source§impl<T, InnerRhs> OptionCheckedMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionCheckedMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionCheckedMul<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedMul<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the multiplication.
source§impl<T, InnerRhs> OptionCheckedMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedMul<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionCheckedMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedMul<InnerRhs, InnerRhs>,
§type Output = <T as OptionCheckedMul<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedMul<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the multiplication.
source§impl<T, InnerRhs> OptionCheckedRem<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedRem<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionCheckedRem<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedRem<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionCheckedRem<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedRem<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the remainder.
source§impl<T, InnerRhs> OptionCheckedRem<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedRem<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionCheckedRem<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedRem<InnerRhs, InnerRhs>,
§type Output = <T as OptionCheckedRem<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedRem<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the remainder.
source§impl<T, InnerRhs> OptionCheckedSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionCheckedSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionCheckedSub<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedSub<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the substraction.
source§impl<T, InnerRhs> OptionCheckedSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedSub<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionCheckedSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedSub<InnerRhs, InnerRhs>,
§type Output = <T as OptionCheckedSub<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionCheckedSub<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the substraction.
source§impl<T, InnerRhs> OptionDiv<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDiv<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionDiv<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDiv<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§impl<T, InnerRhs> OptionDiv<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDiv<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionDiv<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDiv<InnerRhs, InnerRhs>,
source§impl<T, Rhs> OptionDiv<Rhs, Rhs> for Twhere
T: OptionOperations + Div<Rhs>,
impl<T, Rhs> OptionDiv<Rhs, Rhs> for Twhere
T: OptionOperations + Div<Rhs>,
source§impl<T, InnerRhs> OptionDivAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDivAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionDivAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDivAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§fn opt_div_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_div_assign(&mut self, rhs: &Option<InnerRhs>)
Performs the division assignment. Read more
source§impl<T, InnerRhs> OptionDivAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDivAssign<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionDivAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDivAssign<InnerRhs, InnerRhs>,
source§fn opt_div_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_div_assign(&mut self, rhs: Option<InnerRhs>)
Performs the division assignment. Read more
source§impl<T, Rhs> OptionDivAssign<Rhs, Rhs> for Twhere
T: OptionOperations + DivAssign<Rhs>,
impl<T, Rhs> OptionDivAssign<Rhs, Rhs> for Twhere
T: OptionOperations + DivAssign<Rhs>,
source§fn opt_div_assign(&mut self, rhs: Rhs)
fn opt_div_assign(&mut self, rhs: Rhs)
Performs the division assignment. Read more
source§impl<T, InnerRhs> OptionEq<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + for<'a> OptionEq<&'a InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionEq<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + for<'a> OptionEq<&'a InnerRhs, InnerRhs>,
source§impl<T, InnerRhs> OptionEq<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + for<'a> OptionEq<&'a InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionEq<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + for<'a> OptionEq<&'a InnerRhs, InnerRhs>,
source§impl<T, Rhs> OptionEq<Rhs, Rhs> for Twhere
T: OptionOperations + for<'a> OptionEq<&'a Rhs, Rhs>,
impl<T, Rhs> OptionEq<Rhs, Rhs> for Twhere
T: OptionOperations + for<'a> OptionEq<&'a Rhs, Rhs>,
source§impl<T> OptionMinMax<T, T> for Twhere
T: for<'a> OptionOrd<&'a T, T>,
impl<T> OptionMinMax<T, T> for Twhere
T: for<'a> OptionOrd<&'a T, T>,
source§impl<T, InnerRhs> OptionMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§impl<T, InnerRhs> OptionMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMul<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMul<InnerRhs, InnerRhs>,
source§impl<T, Rhs> OptionMul<Rhs, Rhs> for Twhere
T: OptionOperations + Mul<Rhs>,
impl<T, Rhs> OptionMul<Rhs, Rhs> for Twhere
T: OptionOperations + Mul<Rhs>,
source§impl<T, InnerRhs> OptionMulAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMulAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionMulAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMulAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§fn opt_mul_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_mul_assign(&mut self, rhs: &Option<InnerRhs>)
Performs the multiplication assignment. Read more
source§impl<T, InnerRhs> OptionMulAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMulAssign<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionMulAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMulAssign<InnerRhs, InnerRhs>,
source§fn opt_mul_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_mul_assign(&mut self, rhs: Option<InnerRhs>)
Performs the multiplication assignment. Read more
source§impl<T, Rhs> OptionMulAssign<Rhs, Rhs> for Twhere
T: OptionOperations + MulAssign<Rhs>,
impl<T, Rhs> OptionMulAssign<Rhs, Rhs> for Twhere
T: OptionOperations + MulAssign<Rhs>,
source§fn opt_mul_assign(&mut self, rhs: Rhs)
fn opt_mul_assign(&mut self, rhs: Rhs)
Performs the multiplication assignment. Read more
source§impl<T, InnerRhs> OptionOrd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + for<'a> OptionOrd<&'a InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionOrd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + for<'a> OptionOrd<&'a InnerRhs, InnerRhs>,
source§impl<T, Rhs> OptionOrd<&Rhs, Rhs> for Twhere
T: OptionOperations + PartialOrd<Rhs>,
impl<T, Rhs> OptionOrd<&Rhs, Rhs> for Twhere
T: OptionOperations + PartialOrd<Rhs>,
source§impl<T, InnerRhs> OptionOrd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + for<'a> OptionOrd<&'a InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionOrd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + for<'a> OptionOrd<&'a InnerRhs, InnerRhs>,
source§impl<T, Rhs> OptionOrd<Rhs, Rhs> for Twhere
T: OptionOperations + for<'a> OptionOrd<&'a Rhs, Rhs>,
impl<T, Rhs> OptionOrd<Rhs, Rhs> for Twhere
T: OptionOperations + for<'a> OptionOrd<&'a Rhs, Rhs>,
source§impl<T, InnerRhs> OptionOverflowingAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionOverflowingAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionOverflowingAdd<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionOverflowingAdd<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the addition.
source§fn opt_overflowing_add(
self,
rhs: &Option<InnerRhs>
) -> Option<(<T as OptionOverflowingAdd<&Option<InnerRhs>, InnerRhs>>::Output, bool)>
fn opt_overflowing_add(
self,
rhs: &Option<InnerRhs>
) -> Option<(<T as OptionOverflowingAdd<&Option<InnerRhs>, InnerRhs>>::Output, bool)>
Returns a tuple of the addition
along with a boolean indicating whether an arithmetic overflow
would occur. If an overflow would have occurred then
self
is returned. Read moresource§impl<T, InnerRhs> OptionOverflowingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingAdd<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionOverflowingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingAdd<InnerRhs, InnerRhs>,
§type Output = <T as OptionOverflowingAdd<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionOverflowingAdd<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the addition.
source§fn opt_overflowing_add(
self,
rhs: Option<InnerRhs>
) -> Option<(<T as OptionOverflowingAdd<Option<InnerRhs>, InnerRhs>>::Output, bool)>
fn opt_overflowing_add(
self,
rhs: Option<InnerRhs>
) -> Option<(<T as OptionOverflowingAdd<Option<InnerRhs>, InnerRhs>>::Output, bool)>
Returns a tuple of the addition
along with a boolean indicating whether an arithmetic overflow
would occur. If an overflow would have occurred then
self
is returned. Read moresource§impl<T, InnerRhs> OptionOverflowingMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionOverflowingMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionOverflowingMul<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionOverflowingMul<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the multiplication.
source§fn opt_overflowing_mul(
self,
rhs: &Option<InnerRhs>
) -> Option<(<T as OptionOverflowingMul<&Option<InnerRhs>, InnerRhs>>::Output, bool)>
fn opt_overflowing_mul(
self,
rhs: &Option<InnerRhs>
) -> Option<(<T as OptionOverflowingMul<&Option<InnerRhs>, InnerRhs>>::Output, bool)>
Returns a tuple of the multiplication
along with a boolean indicating whether an arithmetic overflow
would occur. If an overflow would have occurred then
self
is returned. Read moresource§impl<T, InnerRhs> OptionOverflowingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingMul<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionOverflowingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingMul<InnerRhs, InnerRhs>,
§type Output = <T as OptionOverflowingMul<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionOverflowingMul<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the multiplication.
source§fn opt_overflowing_mul(
self,
rhs: Option<InnerRhs>
) -> Option<(<T as OptionOverflowingMul<Option<InnerRhs>, InnerRhs>>::Output, bool)>
fn opt_overflowing_mul(
self,
rhs: Option<InnerRhs>
) -> Option<(<T as OptionOverflowingMul<Option<InnerRhs>, InnerRhs>>::Output, bool)>
Returns a tuple of the multiplication
along with a boolean indicating whether an arithmetic overflow
would occur. If an overflow would have occurred then
self
is returned. Read moresource§impl<T, InnerRhs> OptionOverflowingSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionOverflowingSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionOverflowingSub<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionOverflowingSub<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the substraction.
source§fn opt_overflowing_sub(
self,
rhs: &Option<InnerRhs>
) -> Option<(<T as OptionOverflowingSub<&Option<InnerRhs>, InnerRhs>>::Output, bool)>
fn opt_overflowing_sub(
self,
rhs: &Option<InnerRhs>
) -> Option<(<T as OptionOverflowingSub<&Option<InnerRhs>, InnerRhs>>::Output, bool)>
Returns a tuple of the substraction
along with a boolean indicating whether an arithmetic overflow
would occur. If an overflow would have occurred then
self
is returned. Read moresource§impl<T, InnerRhs> OptionOverflowingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingSub<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionOverflowingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingSub<InnerRhs, InnerRhs>,
§type Output = <T as OptionOverflowingSub<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionOverflowingSub<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the substraction.
source§fn opt_overflowing_sub(
self,
rhs: Option<InnerRhs>
) -> Option<(<T as OptionOverflowingSub<Option<InnerRhs>, InnerRhs>>::Output, bool)>
fn opt_overflowing_sub(
self,
rhs: Option<InnerRhs>
) -> Option<(<T as OptionOverflowingSub<Option<InnerRhs>, InnerRhs>>::Output, bool)>
Returns a tuple of the substraction
along with a boolean indicating whether an arithmetic overflow
would occur. If an overflow would have occurred then
self
is returned. Read moresource§impl<T, InnerRhs> OptionRem<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRem<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionRem<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRem<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§impl<T, InnerRhs> OptionRem<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRem<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionRem<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRem<InnerRhs, InnerRhs>,
source§impl<T, Rhs> OptionRem<Rhs, Rhs> for Twhere
T: OptionOperations + Rem<Rhs>,
impl<T, Rhs> OptionRem<Rhs, Rhs> for Twhere
T: OptionOperations + Rem<Rhs>,
source§impl<T, InnerRhs> OptionRemAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRemAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionRemAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRemAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§fn opt_rem_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_rem_assign(&mut self, rhs: &Option<InnerRhs>)
Performs the remainder assignment. Read more
source§impl<T, InnerRhs> OptionRemAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRemAssign<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionRemAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRemAssign<InnerRhs, InnerRhs>,
source§fn opt_rem_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_rem_assign(&mut self, rhs: Option<InnerRhs>)
Performs the remainder assignment. Read more
source§impl<T, Rhs> OptionRemAssign<Rhs, Rhs> for Twhere
T: OptionOperations + RemAssign<Rhs>,
impl<T, Rhs> OptionRemAssign<Rhs, Rhs> for Twhere
T: OptionOperations + RemAssign<Rhs>,
source§fn opt_rem_assign(&mut self, rhs: Rhs)
fn opt_rem_assign(&mut self, rhs: Rhs)
Performs the remainder assignment. Read more
source§impl<T, InnerRhs> OptionSaturatingAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionSaturatingAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionSaturatingAdd<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionSaturatingAdd<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the addition.
source§fn opt_saturating_add(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionSaturatingAdd<&Option<InnerRhs>, InnerRhs>>::Output>
fn opt_saturating_add(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionSaturatingAdd<&Option<InnerRhs>, InnerRhs>>::Output>
Computes the addition
saturating at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionSaturatingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingAdd<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionSaturatingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingAdd<InnerRhs, InnerRhs>,
§type Output = <T as OptionSaturatingAdd<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionSaturatingAdd<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the addition.
source§fn opt_saturating_add(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionSaturatingAdd<Option<InnerRhs>, InnerRhs>>::Output>
fn opt_saturating_add(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionSaturatingAdd<Option<InnerRhs>, InnerRhs>>::Output>
Computes the addition
saturating at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionSaturatingMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionSaturatingMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionSaturatingMul<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionSaturatingMul<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the multiplication.
source§fn opt_saturating_mul(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionSaturatingMul<&Option<InnerRhs>, InnerRhs>>::Output>
fn opt_saturating_mul(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionSaturatingMul<&Option<InnerRhs>, InnerRhs>>::Output>
Computes the multiplication
saturating at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionSaturatingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingMul<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionSaturatingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingMul<InnerRhs, InnerRhs>,
§type Output = <T as OptionSaturatingMul<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionSaturatingMul<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the multiplication.
source§fn opt_saturating_mul(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionSaturatingMul<Option<InnerRhs>, InnerRhs>>::Output>
fn opt_saturating_mul(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionSaturatingMul<Option<InnerRhs>, InnerRhs>>::Output>
Computes the multiplication
saturating at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionSaturatingSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionSaturatingSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionSaturatingSub<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionSaturatingSub<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the substraction.
source§fn opt_saturating_sub(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionSaturatingSub<&Option<InnerRhs>, InnerRhs>>::Output>
fn opt_saturating_sub(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionSaturatingSub<&Option<InnerRhs>, InnerRhs>>::Output>
Computes the substraction
saturating at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionSaturatingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingSub<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionSaturatingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingSub<InnerRhs, InnerRhs>,
§type Output = <T as OptionSaturatingSub<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionSaturatingSub<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the substraction.
source§fn opt_saturating_sub(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionSaturatingSub<Option<InnerRhs>, InnerRhs>>::Output>
fn opt_saturating_sub(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionSaturatingSub<Option<InnerRhs>, InnerRhs>>::Output>
Computes the substraction
saturating at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§impl<T, InnerRhs> OptionSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSub<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSub<InnerRhs, InnerRhs>,
source§impl<T, Rhs> OptionSub<Rhs, Rhs> for Twhere
T: OptionOperations + Sub<Rhs>,
impl<T, Rhs> OptionSub<Rhs, Rhs> for Twhere
T: OptionOperations + Sub<Rhs>,
source§impl<T, InnerRhs> OptionSubAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSubAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionSubAssign<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSubAssign<InnerRhs, InnerRhs>,
InnerRhs: Copy,
source§fn opt_sub_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_sub_assign(&mut self, rhs: &Option<InnerRhs>)
Performs the substraction assignment. Read more
source§impl<T, InnerRhs> OptionSubAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSubAssign<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionSubAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSubAssign<InnerRhs, InnerRhs>,
source§fn opt_sub_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_sub_assign(&mut self, rhs: Option<InnerRhs>)
Performs the substraction assignment. Read more
source§impl<T, Rhs> OptionSubAssign<Rhs, Rhs> for Twhere
T: OptionOperations + SubAssign<Rhs>,
impl<T, Rhs> OptionSubAssign<Rhs, Rhs> for Twhere
T: OptionOperations + SubAssign<Rhs>,
source§fn opt_sub_assign(&mut self, rhs: Rhs)
fn opt_sub_assign(&mut self, rhs: Rhs)
Performs the substraction assignment. Read more
source§impl<T, InnerRhs> OptionWrappingAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionWrappingAdd<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingAdd<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionWrappingAdd<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionWrappingAdd<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the addition.
source§fn opt_wrapping_add(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionWrappingAdd<&Option<InnerRhs>, InnerRhs>>::Output>
fn opt_wrapping_add(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionWrappingAdd<&Option<InnerRhs>, InnerRhs>>::Output>
Computes the addition
wrapping at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionWrappingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingAdd<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionWrappingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingAdd<InnerRhs, InnerRhs>,
§type Output = <T as OptionWrappingAdd<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionWrappingAdd<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the addition.
source§fn opt_wrapping_add(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionWrappingAdd<Option<InnerRhs>, InnerRhs>>::Output>
fn opt_wrapping_add(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionWrappingAdd<Option<InnerRhs>, InnerRhs>>::Output>
Computes the addition
wrapping at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionWrappingMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionWrappingMul<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingMul<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionWrappingMul<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionWrappingMul<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the multiplication.
source§fn opt_wrapping_mul(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionWrappingMul<&Option<InnerRhs>, InnerRhs>>::Output>
fn opt_wrapping_mul(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionWrappingMul<&Option<InnerRhs>, InnerRhs>>::Output>
Computes the multiplication
wrapping at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionWrappingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingMul<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionWrappingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingMul<InnerRhs, InnerRhs>,
§type Output = <T as OptionWrappingMul<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionWrappingMul<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the multiplication.
source§fn opt_wrapping_mul(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionWrappingMul<Option<InnerRhs>, InnerRhs>>::Output>
fn opt_wrapping_mul(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionWrappingMul<Option<InnerRhs>, InnerRhs>>::Output>
Computes the multiplication
wrapping at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionWrappingSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
impl<T, InnerRhs> OptionWrappingSub<&Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingSub<InnerRhs, InnerRhs>,
InnerRhs: Copy,
§type Output = <T as OptionWrappingSub<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionWrappingSub<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the substraction.
source§fn opt_wrapping_sub(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionWrappingSub<&Option<InnerRhs>, InnerRhs>>::Output>
fn opt_wrapping_sub(
self,
rhs: &Option<InnerRhs>
) -> Option<<T as OptionWrappingSub<&Option<InnerRhs>, InnerRhs>>::Output>
Computes the substraction
wrapping at the numeric bounds instead of overflowing. Read more
source§impl<T, InnerRhs> OptionWrappingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingSub<InnerRhs, InnerRhs>,
impl<T, InnerRhs> OptionWrappingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingSub<InnerRhs, InnerRhs>,
§type Output = <T as OptionWrappingSub<InnerRhs, InnerRhs>>::Output
type Output = <T as OptionWrappingSub<InnerRhs, InnerRhs>>::Output
The resulting inner type after applying the substraction.
source§fn opt_wrapping_sub(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionWrappingSub<Option<InnerRhs>, InnerRhs>>::Output>
fn opt_wrapping_sub(
self,
rhs: Option<InnerRhs>
) -> Option<<T as OptionWrappingSub<Option<InnerRhs>, InnerRhs>>::Output>
Computes the substraction
wrapping at the numeric bounds instead of overflowing. Read more
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.