pub struct PasteScoreFragmentCmd {
pub fragment: ScoreFragment,
pub target: NoteAddr,
pub policy: ScoreFragmentPastePolicy,
}Expand description
Paste a versioned, multi-lane score fragment at a canonical destination.
The destination is the origin for every relative fragment address. The policy determines whether mapped voice measures are replaced, or only pasted into empty/rest-only lanes. CommandStack retains a full undo snapshot.
Fields§
§fragment: ScoreFragment§target: NoteAddr§policy: ScoreFragmentPastePolicyTrait Implementations§
Source§impl Clone for PasteScoreFragmentCmd
impl Clone for PasteScoreFragmentCmd
Source§impl Debug for PasteScoreFragmentCmd
impl Debug for PasteScoreFragmentCmd
Source§impl<'de> Deserialize<'de> for PasteScoreFragmentCmd
impl<'de> Deserialize<'de> for PasteScoreFragmentCmd
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 PasteScoreFragmentCmd
impl RefUnwindSafe for PasteScoreFragmentCmd
impl Send for PasteScoreFragmentCmd
impl Sync for PasteScoreFragmentCmd
impl Unpin for PasteScoreFragmentCmd
impl UnsafeUnpin for PasteScoreFragmentCmd
impl UnwindSafe for PasteScoreFragmentCmd
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