pub struct RespellStaffRegionCmd {
pub part_index: usize,
pub staff_index: usize,
pub start_measure: usize,
pub end_measure: usize,
pub policy: RespellPolicy,
}Expand description
Respell the pitched notes of one staff range, like MuseScore’s “Respell pitches” applied to a
selection. Tie chains crossing the range boundary keep one spelling; see
respell_staff_region.
Fields§
§part_index: usize§staff_index: usize§start_measure: usizeInclusive physical measure index.
end_measure: usizeExclusive physical measure index.
policy: RespellPolicyTrait Implementations§
Source§impl Clone for RespellStaffRegionCmd
impl Clone for RespellStaffRegionCmd
Source§impl Debug for RespellStaffRegionCmd
impl Debug for RespellStaffRegionCmd
Source§impl<'de> Deserialize<'de> for RespellStaffRegionCmd
impl<'de> Deserialize<'de> for RespellStaffRegionCmd
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 RespellStaffRegionCmd
impl RefUnwindSafe for RespellStaffRegionCmd
impl Send for RespellStaffRegionCmd
impl Sync for RespellStaffRegionCmd
impl Unpin for RespellStaffRegionCmd
impl UnsafeUnpin for RespellStaffRegionCmd
impl UnwindSafe for RespellStaffRegionCmd
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