pub enum LineSpacing {
Single,
OneAndHalf,
Double,
Multiple(f32),
Exact(f32),
AtLeast(f32),
}Expand description
行间距类型
Variants§
Single
单倍行距
OneAndHalf
1.5倍行距
Double
双倍行距
Multiple(f32)
多倍行距
Exact(f32)
固定行距(磅)
AtLeast(f32)
最小行距(磅)
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
Source§fn eq(&self, other: &LineSpacing) -> bool
fn eq(&self, other: &LineSpacing) -> bool
Tests for
self and other values to be equal, and is used by ==.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