Struct gstreamer::ClockTime [−][src]
pub struct ClockTime(_);
Implementations
#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn checked_add(self, rhs: Self) -> Option<Self>
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn saturating_add(self, rhs: Self) -> Self
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn wrapping_add(self, rhs: Self) -> Self
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn checked_sub(self, rhs: Self) -> Option<Self>
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn saturating_sub(self, rhs: Self) -> Self
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn wrapping_sub(self, rhs: Self) -> Self
[src]Methods from Deref<Target = u64>
Trait Implementations
Performs the +=
operation. Read more
Deserialize this value from the given Serde deserializer. Read more
type DisplayImpl = ClockTime
Performs the /=
operation. Read more
Performs the /=
operation. Read more
type FormattedValueType = Option<ClockTime>
Performs the *=
operation. Read more
Performs the *=
operation. Read more
Calculates floor(val * num / denom)
, i.e. the largest integer less than or equal to the
result of the division. Read more
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
Calculates ceil(val * num / denom)
, i.e. the the smallest integer greater than or equal to
the result of the division. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Performs the %=
operation. Read more
Performs the %=
operation. Read more
Performs the -=
operation. Read more
Convert an Option
to a Value
.
type Error = GlibNoneError
type Error = GlibNoneError
The type returned in the event of a conversion error.
type Error = GlibNoneError
Auto Trait Implementations
impl RefUnwindSafe for ClockTime
impl UnwindSafe for ClockTime
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]