Struct docx_rs::LineSpacing
source · [−]pub struct LineSpacing { /* private fields */ }
Implementations
sourceimpl 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: u32) -> Self
Trait Implementations
sourceimpl Clone for LineSpacing
impl Clone for LineSpacing
sourcefn clone(&self) -> LineSpacing
fn clone(&self) -> LineSpacing
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LineSpacing
impl Debug for LineSpacing
sourceimpl Default for LineSpacing
impl Default for LineSpacing
sourcefn default() -> LineSpacing
fn default() -> LineSpacing
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LineSpacing
impl<'de> Deserialize<'de> for LineSpacing
sourcefn 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
sourceimpl PartialEq<LineSpacing> for LineSpacing
impl PartialEq<LineSpacing> for LineSpacing
sourcefn eq(&self, other: &LineSpacing) -> bool
fn eq(&self, other: &LineSpacing) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for LineSpacing
impl Serialize for LineSpacing
impl StructuralPartialEq for LineSpacing
Auto Trait Implementations
impl RefUnwindSafe for LineSpacing
impl Send for LineSpacing
impl Sync for LineSpacing
impl Unpin for LineSpacing
impl UnwindSafe for LineSpacing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more