pub struct Spacing {
pub before_lines: Option<isize>,
pub before: Option<isize>,
pub before_auto_spacing: Option<bool>,
pub after_lines: Option<isize>,
pub after: Option<isize>,
pub after_auto_spacing: Option<bool>,
pub line: Option<isize>,
pub line_rule: Option<LineRule>,
}
Expand description
Spacing 100 percent. line is 240-based.
use docx_rust::formatting::*;
let sz = Size::from(42isize);
Fields§
§before_lines: Option<isize>
Spacing Above Paragraph In Line Units
before: Option<isize>
Spacing Above Paragraph
before_auto_spacing: Option<bool>
Automatically Determine Spacing Above Paragraph
after_lines: Option<isize>
§after: Option<isize>
§after_auto_spacing: Option<bool>
§line: Option<isize>
§line_rule: Option<LineRule>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Spacing
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnwindSafe for Spacing
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