pub struct SetTransposeCmd {
pub part_index: usize,
pub staff_index: usize,
pub semitones: i8,
}Fields§
§part_index: usize§staff_index: usize§semitones: i8Semitones to transpose (negative = down). E.g. -2 for Bb clarinet.
Trait Implementations§
Source§impl Clone for SetTransposeCmd
impl Clone for SetTransposeCmd
Source§fn clone(&self) -> SetTransposeCmd
fn clone(&self) -> SetTransposeCmd
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 SetTransposeCmd
impl Debug for SetTransposeCmd
Source§impl<'de> Deserialize<'de> for SetTransposeCmd
impl<'de> Deserialize<'de> for SetTransposeCmd
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 SetTransposeCmd
impl RefUnwindSafe for SetTransposeCmd
impl Send for SetTransposeCmd
impl Sync for SetTransposeCmd
impl Unpin for SetTransposeCmd
impl UnsafeUnpin for SetTransposeCmd
impl UnwindSafe for SetTransposeCmd
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