pub enum LineSpacing {
Percent {
value: f64,
},
Points {
value: f64,
},
}Expand description
A spacing height, as a share of the text size or in points.
Variants§
Trait Implementations§
Source§impl Clone for LineSpacing
impl Clone for LineSpacing
impl Copy for LineSpacing
Source§impl Debug for LineSpacing
impl Debug for LineSpacing
Source§impl<'de> Deserialize<'de> for LineSpacing
impl<'de> Deserialize<'de> for LineSpacing
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 LineSpacing
impl PartialEq for LineSpacing
Source§impl Serialize for LineSpacing
impl Serialize 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