pub struct ImplodeStavesCmd {
pub part_index: usize,
pub source_staves: Vec<usize>,
pub target_staff: usize,
pub start_measure: usize,
pub end_measure: usize,
}Expand description
Move the primary voice from compatible staves into voices of one staff.
source_staves is ordered: its position becomes the destination voice index.
It must contain target_staff exactly once and contain two to four staves.
Every source secondary voice must be empty; this makes the operation lossless
and gives a deterministic conflict policy.
Fields§
§part_index: usize§source_staves: Vec<usize>§target_staff: usize§start_measure: usize§end_measure: usizeTrait Implementations§
Source§impl Clone for ImplodeStavesCmd
impl Clone for ImplodeStavesCmd
Source§impl Debug for ImplodeStavesCmd
impl Debug for ImplodeStavesCmd
Source§impl<'de> Deserialize<'de> for ImplodeStavesCmd
impl<'de> Deserialize<'de> for ImplodeStavesCmd
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 ImplodeStavesCmd
impl RefUnwindSafe for ImplodeStavesCmd
impl Send for ImplodeStavesCmd
impl Sync for ImplodeStavesCmd
impl Unpin for ImplodeStavesCmd
impl UnsafeUnpin for ImplodeStavesCmd
impl UnwindSafe for ImplodeStavesCmd
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