pub struct LineSpacing { /* private fields */ }
Implementations§
Source§impl LineSpacing
impl LineSpacing
pub fn new() -> Self
pub fn line_rule(self, t: LineSpacingType) -> Self
pub fn before(self, before: u32) -> Self
pub fn after(self, after: u32) -> Self
pub fn before_lines(self, before: u32) -> Self
pub fn after_lines(self, after: u32) -> Self
pub fn line(self, line: i32) -> Self
Trait Implementations§
Source§impl Clone for LineSpacing
impl Clone for LineSpacing
Source§fn clone(&self) -> LineSpacing
fn clone(&self) -> LineSpacing
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LineSpacing
impl Debug for LineSpacing
Source§impl Default for LineSpacing
impl Default for LineSpacing
Source§fn default() -> LineSpacing
fn default() -> LineSpacing
Returns the “default value” for a type. Read more
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 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