Struct governor::clock::QuantaInstant [−][src]
pub struct QuantaInstant(_);
Expand description
A nanosecond-scale opaque instant (already scaled to reference time) returned from a
QuantaClock
.
Trait Implementations
type Output = QuantaInstant
type Output = QuantaInstant
The resulting type after applying the +
operator.
Performs the +
operation. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Determines the time that separates two measurements of a
clock. Implementations of this must perform a saturating
subtraction - if the earlier
timestamp should be later,
duration_since
must return the zero duration. Read more
Returns a reference point that lies at most duration
in the
past from the current reference. If an underflow should occur,
returns the current reference. Read more
Auto Trait Implementations
impl RefUnwindSafe for QuantaInstant
impl Send for QuantaInstant
impl Sync for QuantaInstant
impl Unpin for QuantaInstant
impl UnwindSafe for QuantaInstant
Blanket Implementations
Mutably borrows from an owned value. Read more