Struct zaplib::UniversalInstant
source · [−]pub struct UniversalInstant(_);
Expand description
Version of std::time::Instant
that also works in WebAssembly.
Trait Implementations
See Add<Duration>
in std::time::Instant
.
type Output = UniversalInstant
type Output = UniversalInstant
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
See Sub<Duration>
in std::time::Instant
.
type Output = UniversalInstant
type Output = UniversalInstant
The resulting type after applying the -
operator.
Performs the -
operation. Read more
See Sub<Instant>
in std::time::Instant
.
Auto Trait Implementations
impl RefUnwindSafe for UniversalInstant
impl Send for UniversalInstant
impl Sync for UniversalInstant
impl Unpin for UniversalInstant
impl UnwindSafe for UniversalInstant
Blanket Implementations
Mutably borrows from an owned value. Read more