pub struct WidowsStyleValue(pub Integer);Expand description
Represents the style value for widows 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 WidowsStyleValue
impl Clone for WidowsStyleValue
Source§fn clone(&self) -> WidowsStyleValue
fn clone(&self) -> WidowsStyleValue
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 WidowsStyleValue
impl Debug for WidowsStyleValue
Source§impl Hash for WidowsStyleValue
impl Hash for WidowsStyleValue
Source§impl Ord for WidowsStyleValue
impl Ord for WidowsStyleValue
Source§fn cmp(&self, other: &WidowsStyleValue) -> Ordering
fn cmp(&self, other: &WidowsStyleValue) -> 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 WidowsStyleValue
impl<'a> Parse<'a> for WidowsStyleValue
Source§impl PartialEq for WidowsStyleValue
impl PartialEq for WidowsStyleValue
Source§impl PartialOrd for WidowsStyleValue
impl PartialOrd for WidowsStyleValue
Source§impl<'a> Peek<'a> for WidowsStyleValue
impl<'a> Peek<'a> for WidowsStyleValue
Source§impl ToCursors for WidowsStyleValue
impl ToCursors for WidowsStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for WidowsStyleValue
impl StructuralPartialEq for WidowsStyleValue
Auto Trait Implementations§
impl Freeze for WidowsStyleValue
impl RefUnwindSafe for WidowsStyleValue
impl Send for WidowsStyleValue
impl Sync for WidowsStyleValue
impl Unpin for WidowsStyleValue
impl UnwindSafe for WidowsStyleValue
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