Enum duet_charter_lib::chart::TempoEvent
source · [−]pub enum TempoEvent {
Beat {
timestamp: u32,
milli_bpm: u64,
},
TimeSignature {
timestamp: u32,
time_signature: (u32, u32),
},
Anchor {
timestamp: u32,
song_microseconds: u64,
},
OtherTempoEvent {
code: String,
timestamp: u32,
content: String,
},
}
Variants
Beat
TimeSignature
Anchor
OtherTempoEvent
Trait Implementations
sourceimpl Debug for TempoEvent
impl Debug for TempoEvent
sourceimpl TimestampedEvent for TempoEvent
impl TimestampedEvent for TempoEvent
fn get_timestamp(&self) -> u32
Auto Trait Implementations
impl RefUnwindSafe for TempoEvent
impl Send for TempoEvent
impl Sync for TempoEvent
impl Unpin for TempoEvent
impl UnwindSafe for TempoEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more