pub struct OrphansStyleValue(pub Integer);Expand description
Represents the style value for orphans as defined in css-break-4.
The widows and orphans CSS properties set the minimum lines included in a text fragment created by page, column, or region breaks.
The grammar is defined as:
<integer [1,∞]>Tuple Fields§
§0: IntegerTrait Implementations§
Source§impl Clone for OrphansStyleValue
impl Clone for OrphansStyleValue
Source§fn clone(&self) -> OrphansStyleValue
fn clone(&self) -> OrphansStyleValue
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 OrphansStyleValue
impl Debug for OrphansStyleValue
Source§impl Hash for OrphansStyleValue
impl Hash for OrphansStyleValue
Source§impl Ord for OrphansStyleValue
impl Ord for OrphansStyleValue
Source§fn cmp(&self, other: &OrphansStyleValue) -> Ordering
fn cmp(&self, other: &OrphansStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for OrphansStyleValue
impl<'a> Parse<'a> for OrphansStyleValue
Source§impl PartialEq for OrphansStyleValue
impl PartialEq for OrphansStyleValue
Source§impl PartialOrd for OrphansStyleValue
impl PartialOrd for OrphansStyleValue
Source§impl<'a> Peek<'a> for OrphansStyleValue
impl<'a> Peek<'a> for OrphansStyleValue
Source§impl ToCursors for OrphansStyleValue
impl ToCursors for OrphansStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OrphansStyleValue
impl StructuralPartialEq for OrphansStyleValue
Auto Trait Implementations§
impl Freeze for OrphansStyleValue
impl RefUnwindSafe for OrphansStyleValue
impl Send for OrphansStyleValue
impl Sync for OrphansStyleValue
impl Unpin for OrphansStyleValue
impl UnwindSafe for OrphansStyleValue
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