Struct kira::Tempo [−][src]
pub struct Tempo(pub f64);
A tempo, or speed, of some music (in beats per minute).
Implementations
impl Tempo
[src]
impl Tempo
[src]pub fn beats_to_seconds(&self, beats: f64) -> f64
[src]
Converts a number of beats at this tempo to a length of time in seconds.
Trait Implementations
impl StructuralPartialEq for Tempo
[src]
impl StructuralPartialEq for Tempo
[src]Auto Trait Implementations
impl RefUnwindSafe for Tempo
impl RefUnwindSafe for Tempo
impl UnwindSafe for Tempo
impl UnwindSafe for Tempo