pub struct SetFingeringCmd {
pub part_index: usize,
pub staff_index: usize,
pub measure_index: usize,
pub voice: usize,
pub note_index: usize,
pub fingering: Option<u8>,
}Expand description
Set (or clear) the fingering number on a note (0 = open/thumb, 1–5 = fingers).
Fields§
§part_index: usize§staff_index: usize§measure_index: usize§voice: usize§note_index: usize§fingering: Option<u8>None clears the fingering.
Trait Implementations§
Source§impl Clone for SetFingeringCmd
impl Clone for SetFingeringCmd
Source§fn clone(&self) -> SetFingeringCmd
fn clone(&self) -> SetFingeringCmd
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 SetFingeringCmd
impl Debug for SetFingeringCmd
Source§impl<'de> Deserialize<'de> for SetFingeringCmd
impl<'de> Deserialize<'de> for SetFingeringCmd
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 SetFingeringCmd
impl RefUnwindSafe for SetFingeringCmd
impl Send for SetFingeringCmd
impl Sync for SetFingeringCmd
impl Unpin for SetFingeringCmd
impl UnsafeUnpin for SetFingeringCmd
impl UnwindSafe for SetFingeringCmd
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