#[repr(C)]pub struct BeatInfo {
pub bpm: f64,
pub phase: f64,
pub bar_position: f64,
}Expand description
§========================================================================== Beat Timing
Timing information for beat-synchronized actions
Fields§
§bpm: f64Beats per minute
phase: f64Phase within current beat (0.0-1.0)
bar_position: f64Position within current bar (0.0-1.0)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BeatInfo
impl RefUnwindSafe for BeatInfo
impl Send for BeatInfo
impl Sync for BeatInfo
impl Unpin for BeatInfo
impl UnwindSafe for BeatInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more