pub struct SetTupletCmd {
pub part_index: usize,
pub staff_index: usize,
pub measure_index: usize,
pub voice_index: usize,
pub note_index: usize,
pub tuplet: Option<TupletInfo>,
}Expand description
Set (or clear) the tuplet info on an existing note.
Fields§
§part_index: usize§staff_index: usize§measure_index: usize§voice_index: usize§note_index: usize§tuplet: Option<TupletInfo>None removes the tuplet; Some(TupletInfo) sets it.
Trait Implementations§
Source§impl Clone for SetTupletCmd
impl Clone for SetTupletCmd
Source§fn clone(&self) -> SetTupletCmd
fn clone(&self) -> SetTupletCmd
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 SetTupletCmd
impl Debug for SetTupletCmd
Source§impl<'de> Deserialize<'de> for SetTupletCmd
impl<'de> Deserialize<'de> for SetTupletCmd
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 SetTupletCmd
impl RefUnwindSafe for SetTupletCmd
impl Send for SetTupletCmd
impl Sync for SetTupletCmd
impl Unpin for SetTupletCmd
impl UnsafeUnpin for SetTupletCmd
impl UnwindSafe for SetTupletCmd
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