pub struct SetTempoAtMeasureCmd {
pub measure_index: usize,
pub bpm: Option<u16>,
}Fields§
§measure_index: usize§bpm: Option<u16>New BPM at this measure. None clears any measure-level override.
Trait Implementations§
Source§impl Clone for SetTempoAtMeasureCmd
impl Clone for SetTempoAtMeasureCmd
Source§fn clone(&self) -> SetTempoAtMeasureCmd
fn clone(&self) -> SetTempoAtMeasureCmd
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 SetTempoAtMeasureCmd
impl Debug for SetTempoAtMeasureCmd
Source§impl<'de> Deserialize<'de> for SetTempoAtMeasureCmd
impl<'de> Deserialize<'de> for SetTempoAtMeasureCmd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetTempoAtMeasureCmd
impl RefUnwindSafe for SetTempoAtMeasureCmd
impl Send for SetTempoAtMeasureCmd
impl Sync for SetTempoAtMeasureCmd
impl Unpin for SetTempoAtMeasureCmd
impl UnsafeUnpin for SetTempoAtMeasureCmd
impl UnwindSafe for SetTempoAtMeasureCmd
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