pub struct KeepTogetherRange {
pub first_measure: usize,
pub last_measure: usize,
}Expand description
A contiguous range of physical measures that must remain in one printed system.
Both endpoints are zero-based and inclusive. This is intentionally a layout request, not a score-model mutation, so hosts can apply publication presets without changing the editable score.
Fields§
§first_measure: usize§last_measure: usizeTrait Implementations§
Source§impl Clone for KeepTogetherRange
impl Clone for KeepTogetherRange
Source§fn clone(&self) -> KeepTogetherRange
fn clone(&self) -> KeepTogetherRange
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 moreimpl Copy for KeepTogetherRange
Source§impl Debug for KeepTogetherRange
impl Debug for KeepTogetherRange
Source§impl<'de> Deserialize<'de> for KeepTogetherRange
impl<'de> Deserialize<'de> for KeepTogetherRange
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
impl Eq for KeepTogetherRange
Source§impl PartialEq for KeepTogetherRange
impl PartialEq for KeepTogetherRange
Source§impl Serialize for KeepTogetherRange
impl Serialize for KeepTogetherRange
impl StructuralPartialEq for KeepTogetherRange
Auto Trait Implementations§
impl Freeze for KeepTogetherRange
impl RefUnwindSafe for KeepTogetherRange
impl Send for KeepTogetherRange
impl Sync for KeepTogetherRange
impl Unpin for KeepTogetherRange
impl UnsafeUnpin for KeepTogetherRange
impl UnwindSafe for KeepTogetherRange
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