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