pub enum ClockChart {
Frames {
frames_per_second: u64,
},
Midi {
tpq: u32,
tempo_map: TempoMap,
},
}Expand description
Variants§
Frames
Fixed-rate clock advancing at frames_per_second frames each second.
Midi
MIDI clock whose ticks are paced by tempo_map at tpq ticks per
quarter note.
Trait Implementations§
Source§impl Clone for ClockChart
impl Clone for ClockChart
Source§fn clone(&self) -> ClockChart
fn clone(&self) -> ClockChart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClockChart
impl Debug for ClockChart
impl Eq for ClockChart
Source§impl PartialEq for ClockChart
impl PartialEq for ClockChart
Source§fn eq(&self, other: &ClockChart) -> bool
fn eq(&self, other: &ClockChart) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClockChart
Auto Trait Implementations§
impl Freeze for ClockChart
impl RefUnwindSafe for ClockChart
impl Send for ClockChart
impl Sync for ClockChart
impl Unpin for ClockChart
impl UnsafeUnpin for ClockChart
impl UnwindSafe for ClockChart
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