pub struct Spacing {
pub before_pt: Option<f32>,
pub after_pt: Option<f32>,
pub line_pct: Option<f32>,
}Expand description
Paragraph spacing in points; None = unset (renderer/writer uses defaults).
Fields§
§before_pt: Option<f32>Space above the paragraph.
after_pt: Option<f32>Space below the paragraph.
line_pct: Option<f32>Line height as a multiple of the font size (e.g. 1.5).
Trait Implementations§
impl Copy for Spacing
impl StructuralPartialEq for Spacing
Auto Trait Implementations§
impl Freeze for Spacing
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnsafeUnpin for Spacing
impl UnwindSafe for Spacing
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