pub struct PlayingSpeed {
pub bpm: u16,
pub tempo: u16,
}
Expand description
The return values from XMContext::get_playing_speed()
.
Fields§
§bpm: u16
Beats per minute
tempo: u16
Ticks per line
Trait Implementations§
Source§impl Clone for PlayingSpeed
impl Clone for PlayingSpeed
Source§fn clone(&self) -> PlayingSpeed
fn clone(&self) -> PlayingSpeed
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PlayingSpeed
Auto Trait Implementations§
impl Freeze for PlayingSpeed
impl RefUnwindSafe for PlayingSpeed
impl Send for PlayingSpeed
impl Sync for PlayingSpeed
impl Unpin for PlayingSpeed
impl UnwindSafe for PlayingSpeed
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