pub struct PublicationSpacer {
pub before_measure: usize,
pub height_mm: f32,
}Expand description
Extra vertical space inserted before the system that begins at one physical measure.
Spacers are publication policy, not score notation. Their height is consumed by pagination
and reflected in the following system’s top_mm.
Fields§
§before_measure: usizeZero-based physical measure at which the following system receives extra space.
height_mm: f32Trait Implementations§
Source§impl Clone for PublicationSpacer
impl Clone for PublicationSpacer
Source§impl Debug for PublicationSpacer
impl Debug for PublicationSpacer
Source§impl<'de> Deserialize<'de> for PublicationSpacer
impl<'de> Deserialize<'de> for PublicationSpacer
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
Source§impl PartialEq for PublicationSpacer
impl PartialEq for PublicationSpacer
Source§impl Serialize for PublicationSpacer
impl Serialize for PublicationSpacer
impl StructuralPartialEq for PublicationSpacer
Auto Trait Implementations§
impl Freeze for PublicationSpacer
impl RefUnwindSafe for PublicationSpacer
impl Send for PublicationSpacer
impl Sync for PublicationSpacer
impl Unpin for PublicationSpacer
impl UnsafeUnpin for PublicationSpacer
impl UnwindSafe for PublicationSpacer
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