pub struct ClockHandle { /* private fields */ }
Expand description

Controls a clock.

When a ClockHandle is dropped, the corresponding clock will be removed.

Implementations

Returns the unique identifier for the clock.

Returns true if the clock is currently ticking and false if not.

Returns the current time of the clock.

Sets the speed of the clock.

Starts or resumes the clock.

Pauses the clock.

Stops and resets the clock.

Trait Implementations

Executes the destructor for this type. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.