pub struct ClockTime(/* private fields */);
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 fn seconds_f32(self) -> f32
pub fn seconds_f64(self) -> f64
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 fn try_from_seconds_f32(seconds: f32) -> Result<Self, TryFromFloatSecsError>
pub fn try_from_seconds_f32(seconds: f32) -> Result<Self, TryFromFloatSecsError>
Builds a new ClockTime
which value is the given number of seconds.
Returns an error if seconds is negative, infinite or NaN, or
the resulting duration in nanoseconds exceeds the u64
range.
sourcepub fn from_seconds_f32(seconds: f32) -> Self
pub fn from_seconds_f32(seconds: f32) -> Self
Builds a new ClockTime
which value is the given number of seconds.
§Panics
Panics if seconds is negative, infinite or NaN, or the resulting duration
in nanoseconds exceeds the u64
range.
sourcepub fn try_from_seconds_f64(seconds: f64) -> Result<Self, TryFromFloatSecsError>
pub fn try_from_seconds_f64(seconds: f64) -> Result<Self, TryFromFloatSecsError>
Builds a new ClockTime
which value is the given number of seconds.
Returns an error if seconds is negative, infinite or NaN, or
the resulting duration in nanoseconds exceeds the u64
range.
sourcepub fn from_seconds_f64(seconds: f64) -> Self
pub fn from_seconds_f64(seconds: f64) -> Self
Builds a new ClockTime
which value is the given number of seconds.
§Panics
Panics if seconds is negative, infinite or NaN, or 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
pub fn absdiff(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>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§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)
+=
operation. Read moresource§impl AddAssign for ClockTime
impl AddAssign for ClockTime
source§fn add_assign(&mut self, rhs: ClockTime)
fn add_assign(&mut self, rhs: ClockTime)
+=
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>
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)
/=
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
source§impl HasParamSpec for ClockTime
impl HasParamSpec for ClockTime
type ParamSpec = ParamSpecUInt64
type BuilderFn = fn(_: &str) -> ParamSpecUInt64Builder<'_>
fn param_spec_builder() -> Self::BuilderFn
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)
*=
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>
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>
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 OptionCheckedAdd for ClockTime
impl OptionCheckedAdd for ClockTime
source§impl OptionCheckedDiv<u64> for ClockTime
impl OptionCheckedDiv<u64> for ClockTime
source§impl OptionCheckedDiv for ClockTime
impl OptionCheckedDiv for ClockTime
source§impl OptionCheckedMul<ClockTime> for u64
impl OptionCheckedMul<ClockTime> for u64
source§impl OptionCheckedMul<u64> for ClockTime
impl OptionCheckedMul<u64> for ClockTime
source§impl OptionCheckedRem<u64> for ClockTime
impl OptionCheckedRem<u64> for ClockTime
source§impl OptionCheckedRem for ClockTime
impl OptionCheckedRem for ClockTime
source§impl OptionCheckedSub for ClockTime
impl OptionCheckedSub for ClockTime
source§impl OptionOverflowingAdd for ClockTime
impl OptionOverflowingAdd for ClockTime
source§impl OptionOverflowingMul<ClockTime> for u64
impl OptionOverflowingMul<ClockTime> for u64
source§impl OptionOverflowingMul<u64> for ClockTime
impl OptionOverflowingMul<u64> for ClockTime
source§impl OptionOverflowingSub for ClockTime
impl OptionOverflowingSub for ClockTime
source§impl OptionSaturatingAdd for ClockTime
impl OptionSaturatingAdd for ClockTime
source§impl OptionSaturatingMul<ClockTime> for u64
impl OptionSaturatingMul<ClockTime> for u64
source§impl OptionSaturatingMul<u64> for ClockTime
impl OptionSaturatingMul<u64> for ClockTime
source§impl OptionSaturatingSub for ClockTime
impl OptionSaturatingSub for ClockTime
source§impl OptionWrappingAdd for ClockTime
impl OptionWrappingAdd for ClockTime
source§impl OptionWrappingMul<ClockTime> for u64
impl OptionWrappingMul<ClockTime> for u64
source§impl OptionWrappingMul<u64> for ClockTime
impl OptionWrappingMul<u64> for ClockTime
source§impl OptionWrappingSub for ClockTime
impl OptionWrappingSub for ClockTime
source§impl Ord for ClockTime
impl Ord 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 PartialEq for ClockTime
impl PartialEq for ClockTime
source§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
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
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd for ClockTime
impl PartialOrd for ClockTime
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
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)
%=
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)
-=
operation. Read moresource§impl SubAssign for ClockTime
impl SubAssign for ClockTime
source§fn sub_assign(&mut self, rhs: ClockTime)
fn sub_assign(&mut self, rhs: ClockTime)
-=
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
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
self
into a Signed::Positive
.source§fn into_negative(self) -> Self::Signed
fn into_negative(self) -> Self::Signed
self
into a Signed::Negative
.source§fn into_signed(self, sign: i32) -> Self::Signed
fn into_signed(self, sign: i32) -> Self::Signed
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 StructuralPartialEq for ClockTime
Auto Trait Implementations§
impl Freeze for ClockTime
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CompatibleFormattedValue<GenericFormattedValue> for Twhere
T: SpecificFormattedValue,
impl<T> CompatibleFormattedValue<GenericFormattedValue> for Twhere
T: SpecificFormattedValue,
type Original = T
source§fn try_into_checked(
self,
other: GenericFormattedValue,
) -> Result<T, FormattedValueError>
fn try_into_checked( self, other: GenericFormattedValue, ) -> Result<T, FormattedValueError>
source§fn try_into_checked_explicit(
self,
format: Format,
) -> Result<<T as CompatibleFormattedValue<GenericFormattedValue>>::Original, FormattedValueError>
fn try_into_checked_explicit( self, format: Format, ) -> Result<<T as CompatibleFormattedValue<GenericFormattedValue>>::Original, FormattedValueError>
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T, InnerRhs> OptionAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAdd<InnerRhs>,
impl<T, InnerRhs> OptionAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAdd<InnerRhs>,
§impl<T, Rhs> OptionAdd<Rhs> for Twhere
T: OptionOperations + Add<Rhs>,
impl<T, Rhs> OptionAdd<Rhs> for Twhere
T: OptionOperations + Add<Rhs>,
§impl<T, InnerRhs> OptionAddAssign<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionAddAssign<&Option<InnerRhs>, InnerRhs> for T
§fn opt_add_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_add_assign(&mut self, rhs: &Option<InnerRhs>)
§impl<T, InnerRhs> OptionAddAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAddAssign<InnerRhs>,
impl<T, InnerRhs> OptionAddAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionAddAssign<InnerRhs>,
§fn opt_add_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_add_assign(&mut self, rhs: Option<InnerRhs>)
§impl<T, Rhs> OptionAddAssign<Rhs> for Twhere
T: OptionOperations + AddAssign<Rhs>,
impl<T, Rhs> OptionAddAssign<Rhs> for Twhere
T: OptionOperations + AddAssign<Rhs>,
§fn opt_add_assign(&mut self, rhs: Rhs)
fn opt_add_assign(&mut self, rhs: Rhs)
§impl<T, InnerRhs> OptionCheckedAdd<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionCheckedAdd<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionCheckedAdd<InnerRhs>>::Output
type Output = <T as OptionCheckedAdd<InnerRhs>>::Output
§fn opt_checked_add(
self,
rhs: &Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedAdd<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_add( self, rhs: &Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedAdd<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedAdd<InnerRhs>,
impl<T, InnerRhs> OptionCheckedAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedAdd<InnerRhs>,
§type Output = <T as OptionCheckedAdd<InnerRhs>>::Output
type Output = <T as OptionCheckedAdd<InnerRhs>>::Output
§fn opt_checked_add(
self,
rhs: Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedAdd<Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_add( self, rhs: Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedAdd<Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedDiv<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionCheckedDiv<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionCheckedDiv<InnerRhs>>::Output
type Output = <T as OptionCheckedDiv<InnerRhs>>::Output
§fn opt_checked_div(
self,
rhs: &Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedDiv<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_div( self, rhs: &Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedDiv<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedDiv<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedDiv<InnerRhs>,
impl<T, InnerRhs> OptionCheckedDiv<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedDiv<InnerRhs>,
§type Output = <T as OptionCheckedDiv<InnerRhs>>::Output
type Output = <T as OptionCheckedDiv<InnerRhs>>::Output
§fn opt_checked_div(
self,
rhs: Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedDiv<Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_div( self, rhs: Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedDiv<Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedMul<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionCheckedMul<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionCheckedMul<InnerRhs>>::Output
type Output = <T as OptionCheckedMul<InnerRhs>>::Output
§fn opt_checked_mul(
self,
rhs: &Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedMul<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_mul( self, rhs: &Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedMul<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedMul<InnerRhs>,
impl<T, InnerRhs> OptionCheckedMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedMul<InnerRhs>,
§type Output = <T as OptionCheckedMul<InnerRhs>>::Output
type Output = <T as OptionCheckedMul<InnerRhs>>::Output
§fn opt_checked_mul(
self,
rhs: Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedMul<Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_mul( self, rhs: Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedMul<Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedRem<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionCheckedRem<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionCheckedRem<InnerRhs>>::Output
type Output = <T as OptionCheckedRem<InnerRhs>>::Output
§fn opt_checked_rem(
self,
rhs: &Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedRem<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_rem( self, rhs: &Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedRem<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedRem<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedRem<InnerRhs>,
impl<T, InnerRhs> OptionCheckedRem<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedRem<InnerRhs>,
§type Output = <T as OptionCheckedRem<InnerRhs>>::Output
type Output = <T as OptionCheckedRem<InnerRhs>>::Output
§fn opt_checked_rem(
self,
rhs: Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedRem<Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_rem( self, rhs: Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedRem<Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedSub<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionCheckedSub<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionCheckedSub<InnerRhs>>::Output
type Output = <T as OptionCheckedSub<InnerRhs>>::Output
§fn opt_checked_sub(
self,
rhs: &Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedSub<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_sub( self, rhs: &Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedSub<&Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionCheckedSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedSub<InnerRhs>,
impl<T, InnerRhs> OptionCheckedSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionCheckedSub<InnerRhs>,
§type Output = <T as OptionCheckedSub<InnerRhs>>::Output
type Output = <T as OptionCheckedSub<InnerRhs>>::Output
§fn opt_checked_sub(
self,
rhs: Option<InnerRhs>,
) -> Result<Option<<T as OptionCheckedSub<Option<InnerRhs>, InnerRhs>>::Output>, Error>
fn opt_checked_sub( self, rhs: Option<InnerRhs>, ) -> Result<Option<<T as OptionCheckedSub<Option<InnerRhs>, InnerRhs>>::Output>, Error>
§impl<T, InnerRhs> OptionDiv<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDiv<InnerRhs>,
impl<T, InnerRhs> OptionDiv<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDiv<InnerRhs>,
§impl<T, Rhs> OptionDiv<Rhs> for Twhere
T: OptionOperations + Div<Rhs>,
impl<T, Rhs> OptionDiv<Rhs> for Twhere
T: OptionOperations + Div<Rhs>,
§impl<T, InnerRhs> OptionDivAssign<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionDivAssign<&Option<InnerRhs>, InnerRhs> for T
§fn opt_div_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_div_assign(&mut self, rhs: &Option<InnerRhs>)
§impl<T, InnerRhs> OptionDivAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDivAssign<InnerRhs>,
impl<T, InnerRhs> OptionDivAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionDivAssign<InnerRhs>,
§fn opt_div_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_div_assign(&mut self, rhs: Option<InnerRhs>)
§impl<T, Rhs> OptionDivAssign<Rhs> for Twhere
T: OptionOperations + DivAssign<Rhs>,
impl<T, Rhs> OptionDivAssign<Rhs> for Twhere
T: OptionOperations + DivAssign<Rhs>,
§fn opt_div_assign(&mut self, rhs: Rhs)
fn opt_div_assign(&mut self, rhs: Rhs)
§impl<T, Rhs> OptionEq<&Rhs, Rhs> for Twhere
T: OptionOperations + PartialEq<Rhs>,
impl<T, Rhs> OptionEq<&Rhs, Rhs> for Twhere
T: OptionOperations + PartialEq<Rhs>,
§impl<T> OptionMinMax<Option<T>, T> for T
impl<T> OptionMinMax<Option<T>, T> for T
§impl<T> OptionMinMax<T> for T
impl<T> OptionMinMax<T> for T
§impl<T, InnerRhs> OptionMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMul<InnerRhs>,
impl<T, InnerRhs> OptionMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMul<InnerRhs>,
§impl<T, Rhs> OptionMul<Rhs> for Twhere
T: OptionOperations + Mul<Rhs>,
impl<T, Rhs> OptionMul<Rhs> for Twhere
T: OptionOperations + Mul<Rhs>,
§impl<T, InnerRhs> OptionMulAssign<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionMulAssign<&Option<InnerRhs>, InnerRhs> for T
§fn opt_mul_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_mul_assign(&mut self, rhs: &Option<InnerRhs>)
§impl<T, InnerRhs> OptionMulAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMulAssign<InnerRhs>,
impl<T, InnerRhs> OptionMulAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionMulAssign<InnerRhs>,
§fn opt_mul_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_mul_assign(&mut self, rhs: Option<InnerRhs>)
§impl<T, Rhs> OptionMulAssign<Rhs> for Twhere
T: OptionOperations + MulAssign<Rhs>,
impl<T, Rhs> OptionMulAssign<Rhs> for Twhere
T: OptionOperations + MulAssign<Rhs>,
§fn opt_mul_assign(&mut self, rhs: Rhs)
fn opt_mul_assign(&mut self, rhs: Rhs)
§impl<T, InnerRhs> OptionOrd<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionOrd<&Option<InnerRhs>, InnerRhs> for T
§impl<T, Rhs> OptionOrd<&Rhs, Rhs> for Twhere
T: OptionOperations + PartialOrd<Rhs>,
impl<T, Rhs> OptionOrd<&Rhs, Rhs> for Twhere
T: OptionOperations + PartialOrd<Rhs>,
§impl<T, InnerRhs> OptionOrd<Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionOrd<Option<InnerRhs>, InnerRhs> for T
§impl<T, InnerRhs> OptionOverflowingAdd<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionOverflowingAdd<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionOverflowingAdd<InnerRhs>>::Output
type Output = <T as OptionOverflowingAdd<InnerRhs>>::Output
§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)>
self
is returned. Read more§impl<T, InnerRhs> OptionOverflowingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingAdd<InnerRhs>,
impl<T, InnerRhs> OptionOverflowingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingAdd<InnerRhs>,
§type Output = <T as OptionOverflowingAdd<InnerRhs>>::Output
type Output = <T as OptionOverflowingAdd<InnerRhs>>::Output
§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)>
self
is returned. Read more§impl<T, InnerRhs> OptionOverflowingMul<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionOverflowingMul<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionOverflowingMul<InnerRhs>>::Output
type Output = <T as OptionOverflowingMul<InnerRhs>>::Output
§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)>
self
is returned. Read more§impl<T, InnerRhs> OptionOverflowingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingMul<InnerRhs>,
impl<T, InnerRhs> OptionOverflowingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingMul<InnerRhs>,
§type Output = <T as OptionOverflowingMul<InnerRhs>>::Output
type Output = <T as OptionOverflowingMul<InnerRhs>>::Output
§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)>
self
is returned. Read more§impl<T, InnerRhs> OptionOverflowingSub<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionOverflowingSub<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionOverflowingSub<InnerRhs>>::Output
type Output = <T as OptionOverflowingSub<InnerRhs>>::Output
§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)>
self
is returned. Read more§impl<T, InnerRhs> OptionOverflowingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingSub<InnerRhs>,
impl<T, InnerRhs> OptionOverflowingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionOverflowingSub<InnerRhs>,
§type Output = <T as OptionOverflowingSub<InnerRhs>>::Output
type Output = <T as OptionOverflowingSub<InnerRhs>>::Output
§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)>
self
is returned. Read more§impl<T, InnerRhs> OptionRem<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRem<InnerRhs>,
impl<T, InnerRhs> OptionRem<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRem<InnerRhs>,
§impl<T, Rhs> OptionRem<Rhs> for Twhere
T: OptionOperations + Rem<Rhs>,
impl<T, Rhs> OptionRem<Rhs> for Twhere
T: OptionOperations + Rem<Rhs>,
§impl<T, InnerRhs> OptionRemAssign<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionRemAssign<&Option<InnerRhs>, InnerRhs> for T
§fn opt_rem_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_rem_assign(&mut self, rhs: &Option<InnerRhs>)
§impl<T, InnerRhs> OptionRemAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRemAssign<InnerRhs>,
impl<T, InnerRhs> OptionRemAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionRemAssign<InnerRhs>,
§fn opt_rem_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_rem_assign(&mut self, rhs: Option<InnerRhs>)
§impl<T, Rhs> OptionRemAssign<Rhs> for Twhere
T: OptionOperations + RemAssign<Rhs>,
impl<T, Rhs> OptionRemAssign<Rhs> for Twhere
T: OptionOperations + RemAssign<Rhs>,
§fn opt_rem_assign(&mut self, rhs: Rhs)
fn opt_rem_assign(&mut self, rhs: Rhs)
§impl<T, InnerRhs> OptionSaturatingAdd<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionSaturatingAdd<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionSaturatingAdd<InnerRhs>>::Output
type Output = <T as OptionSaturatingAdd<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionSaturatingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingAdd<InnerRhs>,
impl<T, InnerRhs> OptionSaturatingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingAdd<InnerRhs>,
§type Output = <T as OptionSaturatingAdd<InnerRhs>>::Output
type Output = <T as OptionSaturatingAdd<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionSaturatingMul<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionSaturatingMul<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionSaturatingMul<InnerRhs>>::Output
type Output = <T as OptionSaturatingMul<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionSaturatingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingMul<InnerRhs>,
impl<T, InnerRhs> OptionSaturatingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingMul<InnerRhs>,
§type Output = <T as OptionSaturatingMul<InnerRhs>>::Output
type Output = <T as OptionSaturatingMul<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionSaturatingSub<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionSaturatingSub<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionSaturatingSub<InnerRhs>>::Output
type Output = <T as OptionSaturatingSub<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionSaturatingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingSub<InnerRhs>,
impl<T, InnerRhs> OptionSaturatingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSaturatingSub<InnerRhs>,
§type Output = <T as OptionSaturatingSub<InnerRhs>>::Output
type Output = <T as OptionSaturatingSub<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSub<InnerRhs>,
impl<T, InnerRhs> OptionSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSub<InnerRhs>,
§impl<T, Rhs> OptionSub<Rhs> for Twhere
T: OptionOperations + Sub<Rhs>,
impl<T, Rhs> OptionSub<Rhs> for Twhere
T: OptionOperations + Sub<Rhs>,
§impl<T, InnerRhs> OptionSubAssign<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionSubAssign<&Option<InnerRhs>, InnerRhs> for T
§fn opt_sub_assign(&mut self, rhs: &Option<InnerRhs>)
fn opt_sub_assign(&mut self, rhs: &Option<InnerRhs>)
§impl<T, InnerRhs> OptionSubAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSubAssign<InnerRhs>,
impl<T, InnerRhs> OptionSubAssign<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionSubAssign<InnerRhs>,
§fn opt_sub_assign(&mut self, rhs: Option<InnerRhs>)
fn opt_sub_assign(&mut self, rhs: Option<InnerRhs>)
§impl<T, Rhs> OptionSubAssign<Rhs> for Twhere
T: OptionOperations + SubAssign<Rhs>,
impl<T, Rhs> OptionSubAssign<Rhs> for Twhere
T: OptionOperations + SubAssign<Rhs>,
§fn opt_sub_assign(&mut self, rhs: Rhs)
fn opt_sub_assign(&mut self, rhs: Rhs)
§impl<T, InnerRhs> OptionWrappingAdd<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionWrappingAdd<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionWrappingAdd<InnerRhs>>::Output
type Output = <T as OptionWrappingAdd<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionWrappingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingAdd<InnerRhs>,
impl<T, InnerRhs> OptionWrappingAdd<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingAdd<InnerRhs>,
§type Output = <T as OptionWrappingAdd<InnerRhs>>::Output
type Output = <T as OptionWrappingAdd<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionWrappingMul<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionWrappingMul<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionWrappingMul<InnerRhs>>::Output
type Output = <T as OptionWrappingMul<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionWrappingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingMul<InnerRhs>,
impl<T, InnerRhs> OptionWrappingMul<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingMul<InnerRhs>,
§type Output = <T as OptionWrappingMul<InnerRhs>>::Output
type Output = <T as OptionWrappingMul<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionWrappingSub<&Option<InnerRhs>, InnerRhs> for T
impl<T, InnerRhs> OptionWrappingSub<&Option<InnerRhs>, InnerRhs> for T
§type Output = <T as OptionWrappingSub<InnerRhs>>::Output
type Output = <T as OptionWrappingSub<InnerRhs>>::Output
§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>
§impl<T, InnerRhs> OptionWrappingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingSub<InnerRhs>,
impl<T, InnerRhs> OptionWrappingSub<Option<InnerRhs>, InnerRhs> for Twhere
T: OptionOperations + OptionWrappingSub<InnerRhs>,
§type Output = <T as OptionWrappingSub<InnerRhs>>::Output
type Output = <T as OptionWrappingSub<InnerRhs>>::Output
§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>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.