pub struct ParParams {Show 26 fields
pub pretolerance: i32,
pub tolerance: i32,
pub looseness: i32,
pub adj_demerits: i32,
pub line_penalty: i32,
pub last_line_fit: i32,
pub double_hyphen_demerits: i32,
pub final_hyphen_demerits: i32,
pub hang_after: i32,
pub hang_indent: i32,
pub hsize: i32,
pub emergency_stretch: i32,
pub broken_penalty: i32,
pub protrude_chars: i32,
pub adjust_spacing: i32,
pub tracing_paragraphs: i32,
pub interline_penalty: i32,
pub club_penalty: i32,
pub widow_penalty: i32,
pub interline_penalties: Option<Rc<[i32]>>,
pub club_penalties: Option<Rc<[i32]>>,
pub widow_penalties: Option<Rc<[i32]>>,
pub left_skip: Glue,
pub right_skip: Glue,
pub par_shape: Option<Rc<[i32]>>,
pub par_dir: i8,
}Expand description
The parameters of line breaking: the current values of TeX’s
parameters for a paragraph, or those given to tex.linebreak.
Fields§
§pretolerance: i32\pretolerance.
tolerance: i32\tolerance.
looseness: i32\looseness.
adj_demerits: i32\adjdemerits.
line_penalty: i32\linepenalty.
last_line_fit: i32\lastlinefit.
double_hyphen_demerits: i32\doublehyphendemerits.
final_hyphen_demerits: i32\finalhyphendemerits.
hang_after: i32\hangafter.
hang_indent: i32\hangindent.
hsize: i32\hsize.
emergency_stretch: i32\emergencystretch.
broken_penalty: i32\brokenpenalty.
protrude_chars: i32\protrudechars.
adjust_spacing: i32\adjustspacing.
tracing_paragraphs: i32\tracingparagraphs.
interline_penalty: i32\interlinepenalty.
club_penalty: i32\clubpenalty.
widow_penalty: i32The penalty before the last line (\widowpenalty or
\displaywidowpenalty).
interline_penalties: Option<Rc<[i32]>>\interlinepenalties (values, without their count).
club_penalties: Option<Rc<[i32]>>\clubpenalties.
widow_penalties: Option<Rc<[i32]>>\widowpenalties or \displaywidowpenalties.
left_skip: Glue\leftskip.
right_skip: Glue\rightskip.
par_shape: Option<Rc<[i32]>>\parshape: indentation and width of each line.
par_dir: i8\pardir.
Trait Implementations§
Auto Trait Implementations§
impl !Send for ParParams
impl !Sync for ParParams
impl Freeze for ParParams
impl RefUnwindSafe for ParParams
impl Unpin for ParParams
impl UnsafeUnpin for ParParams
impl UnwindSafe for ParParams
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