pub struct SetInstrumentIdCmd {
pub part_index: usize,
pub staff_index: usize,
pub measure_index: usize,
pub voice: usize,
pub note_index: usize,
pub instrument_id: Option<String>,
}Expand description
Set or clear a source instrument identifier attached to a note.
Fields§
§part_index: usize§staff_index: usize§measure_index: usize§voice: usize§note_index: usize§instrument_id: Option<String>Trait Implementations§
Source§impl Clone for SetInstrumentIdCmd
impl Clone for SetInstrumentIdCmd
Source§fn clone(&self) -> SetInstrumentIdCmd
fn clone(&self) -> SetInstrumentIdCmd
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 SetInstrumentIdCmd
impl Debug for SetInstrumentIdCmd
Source§impl<'de> Deserialize<'de> for SetInstrumentIdCmd
impl<'de> Deserialize<'de> for SetInstrumentIdCmd
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 SetInstrumentIdCmd
impl RefUnwindSafe for SetInstrumentIdCmd
impl Send for SetInstrumentIdCmd
impl Sync for SetInstrumentIdCmd
impl Unpin for SetInstrumentIdCmd
impl UnsafeUnpin for SetInstrumentIdCmd
impl UnwindSafe for SetInstrumentIdCmd
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