pub struct SetSystemBreakIntervalCmd {
pub interval: u32,
pub start_measure: Option<usize>,
pub end_measure: Option<usize>,
}Expand description
Replace system (line) breaks with one after every interval measures, or remove them when
interval is 0 (MuseScore’s “Add/remove line breaks”). Page and section breaks are kept, and
no break is added after the final measure of the score.
Fields§
§interval: u32§start_measure: Option<usize>Inclusive physical measure index; defaults to the first measure.
end_measure: Option<usize>Exclusive physical measure index; defaults to the measure count.
Trait Implementations§
Source§impl Clone for SetSystemBreakIntervalCmd
impl Clone for SetSystemBreakIntervalCmd
Source§impl Debug for SetSystemBreakIntervalCmd
impl Debug for SetSystemBreakIntervalCmd
Source§impl<'de> Deserialize<'de> for SetSystemBreakIntervalCmd
impl<'de> Deserialize<'de> for SetSystemBreakIntervalCmd
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 SetSystemBreakIntervalCmd
impl RefUnwindSafe for SetSystemBreakIntervalCmd
impl Send for SetSystemBreakIntervalCmd
impl Sync for SetSystemBreakIntervalCmd
impl Unpin for SetSystemBreakIntervalCmd
impl UnsafeUnpin for SetSystemBreakIntervalCmd
impl UnwindSafe for SetSystemBreakIntervalCmd
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