pub enum SystemHeightPolicy {
StaffAware,
Fixed,
}Expand description
How the physical height reserved for each music system is selected.
Variants§
StaffAware
Reserve at least 16 mm for every staff beyond the first, plus a lyric-lane allowance when the score has multiple verses. This is a conservative pagination floor, not a shaped-glyph collision guarantee.
Fixed
Use system_height_mm exactly, for callers with measured system geometry.
Trait Implementations§
Source§impl Clone for SystemHeightPolicy
impl Clone for SystemHeightPolicy
impl Copy for SystemHeightPolicy
Source§impl Debug for SystemHeightPolicy
impl Debug for SystemHeightPolicy
Source§impl Default for SystemHeightPolicy
impl Default for SystemHeightPolicy
Source§impl<'de> Deserialize<'de> for SystemHeightPolicy
impl<'de> Deserialize<'de> for SystemHeightPolicy
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 SystemHeightPolicy
Source§impl PartialEq for SystemHeightPolicy
impl PartialEq for SystemHeightPolicy
Source§impl Serialize for SystemHeightPolicy
impl Serialize for SystemHeightPolicy
impl StructuralPartialEq for SystemHeightPolicy
Auto Trait Implementations§
impl Freeze for SystemHeightPolicy
impl RefUnwindSafe for SystemHeightPolicy
impl Send for SystemHeightPolicy
impl Sync for SystemHeightPolicy
impl Unpin for SystemHeightPolicy
impl UnsafeUnpin for SystemHeightPolicy
impl UnwindSafe for SystemHeightPolicy
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