pub struct WidowOrphanControl {
pub min_lines: u8,
pub enabled: bool,
}Expand description
Widow/orphan policy.
Fields§
§min_lines: u8Keep at least this many lines at paragraph start/end when possible.
enabled: boolEnable widow/orphan controls.
Trait Implementations§
Source§impl Clone for WidowOrphanControl
impl Clone for WidowOrphanControl
Source§fn clone(&self) -> WidowOrphanControl
fn clone(&self) -> WidowOrphanControl
Returns a duplicate 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 WidowOrphanControl
impl Debug for WidowOrphanControl
Source§impl Default for WidowOrphanControl
impl Default for WidowOrphanControl
Source§impl PartialEq for WidowOrphanControl
impl PartialEq for WidowOrphanControl
impl Copy for WidowOrphanControl
impl Eq for WidowOrphanControl
impl StructuralPartialEq for WidowOrphanControl
Auto Trait Implementations§
impl Freeze for WidowOrphanControl
impl RefUnwindSafe for WidowOrphanControl
impl Send for WidowOrphanControl
impl Sync for WidowOrphanControl
impl Unpin for WidowOrphanControl
impl UnsafeUnpin for WidowOrphanControl
impl UnwindSafe for WidowOrphanControl
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