pub enum LineSpacing {
Single,
Multiple(f64),
Exact(f64),
AtLeast(f64),
}Expand description
Line height rule.
Variants§
Single
Multiple(f64)
A multiple of the largest text point size on the line.
Exact(f64)
AtLeast(f64)
Trait Implementations§
Source§impl Clone for LineSpacing
impl Clone for LineSpacing
Source§fn clone(&self) -> LineSpacing
fn clone(&self) -> LineSpacing
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 LineSpacing
Source§impl Debug for LineSpacing
impl Debug for LineSpacing
Source§impl PartialEq for LineSpacing
impl PartialEq for LineSpacing
impl StructuralPartialEq for LineSpacing
Auto Trait Implementations§
impl Freeze for LineSpacing
impl RefUnwindSafe for LineSpacing
impl Send for LineSpacing
impl Sync for LineSpacing
impl Unpin for LineSpacing
impl UnsafeUnpin for LineSpacing
impl UnwindSafe for LineSpacing
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