Enum kira::ClockSpeed
source · [−]Expand description
The rate that a clock ticks at.
Variants
SecondsPerTick(f64)
The clock ticks every x seconds.
TicksPerSecond(f64)
The clock ticks x times per second.
TicksPerMinute(f64)
The clock ticks x times per minute.
Implementations
Returns the ClockSpeed
as a number of seconds between each tick.
Returns the ClockSpeed
as a number of ticks per second.
Returns the ClockSpeed
as a number of ticks per minute.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ClockSpeed
impl Send for ClockSpeed
impl Sync for ClockSpeed
impl Unpin for ClockSpeed
impl UnwindSafe for ClockSpeed
Blanket Implementations
Mutably borrows from an owned value. Read more