Struct monotonic_clock::FloatInstant [−][src]
pub struct FloatInstant(_);
Implementations
impl FloatInstant
[src]
impl FloatInstant
[src]pub fn from_secs_f64(now: f64) -> FloatInstant
[src]
pub fn duration_since(&self, earlier: FloatInstant) -> Duration
[src]
pub fn checked_duration_since(&self, earlier: FloatInstant) -> Option<Duration>
[src]
pub fn saturating_duration_since(&self, earlier: FloatInstant) -> Duration
[src]
Trait Implementations
impl Add<Duration> for FloatInstant
[src]
impl Add<Duration> for FloatInstant
[src]type Output = FloatInstant
The resulting type after applying the +
operator.
fn add(self, other: Duration) -> FloatInstant
[src]
impl AddAssign<Duration> for FloatInstant
[src]
impl AddAssign<Duration> for FloatInstant
[src]fn add_assign(&mut self, other: Duration)
[src]
impl Clone for FloatInstant
[src]
impl Clone for FloatInstant
[src]fn clone(&self) -> FloatInstant
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for FloatInstant
[src]
impl<'de> Deserialize<'de> for FloatInstant
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<FloatInstant> for FloatInstant
[src]
impl PartialEq<FloatInstant> for FloatInstant
[src]fn eq(&self, other: &FloatInstant) -> bool
[src]
fn ne(&self, other: &FloatInstant) -> bool
[src]
impl PartialOrd<FloatInstant> for FloatInstant
[src]
impl PartialOrd<FloatInstant> for FloatInstant
[src]fn partial_cmp(&self, other: &FloatInstant) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for FloatInstant
[src]
impl Serialize for FloatInstant
[src]impl Sub<Duration> for FloatInstant
[src]
impl Sub<Duration> for FloatInstant
[src]type Output = FloatInstant
The resulting type after applying the -
operator.
fn sub(self, other: Duration) -> FloatInstant
[src]
impl Sub<FloatInstant> for FloatInstant
[src]
impl Sub<FloatInstant> for FloatInstant
[src]impl SubAssign<Duration> for FloatInstant
[src]
impl SubAssign<Duration> for FloatInstant
[src]