pub struct LineBreakParams {
pub available_width: f64,
pub ind_left: f64,
pub ind_right: f64,
pub ind_first_line: f64,
pub ind_hanging: f64,
pub tab_stops: Vec<CT_TabStop>,
pub line_spacing: Option<Twips>,
pub line_rule: Option<String>,
pub jc: Option<ST_Jc>,
}Expand description
Parameters for line breaking.
Fields§
§available_width: f64Total available width (page width minus margins).
ind_left: f64Left indentation in points.
ind_right: f64Right indentation in points.
ind_first_line: f64First line indent in points (positive = indent, 0 if hanging).
ind_hanging: f64Hanging indent in points (positive = text lines indented relative to first).
tab_stops: Vec<CT_TabStop>Tab stops.
line_spacing: Option<Twips>Line spacing value.
line_rule: Option<String>Line spacing rule.
jc: Option<ST_Jc>Paragraph justification.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineBreakParams
impl RefUnwindSafe for LineBreakParams
impl Send for LineBreakParams
impl Sync for LineBreakParams
impl Unpin for LineBreakParams
impl UnsafeUnpin for LineBreakParams
impl UnwindSafe for LineBreakParams
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