pub enum BreakAfterStyleValue {
}Expand description
Represents the style value for break-after as defined in css-break-4.
In printed page layouts, the break-after, break-before, break-inside CSS properties control where printed pages start and end. Also known as pagination or page breaking.
The grammar is defined as:
auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | regionVariants§
Auto(Ident)
Avoid(Ident)
Always(Ident)
All(Ident)
AvoidPage(Ident)
Page(Ident)
Left(Ident)
Right(Ident)
Recto(Ident)
Verso(Ident)
AvoidColumn(Ident)
Column(Ident)
AvoidRegion(Ident)
Region(Ident)
Trait Implementations§
Source§impl Clone for BreakAfterStyleValue
impl Clone for BreakAfterStyleValue
Source§fn clone(&self) -> BreakAfterStyleValue
fn clone(&self) -> BreakAfterStyleValue
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 BreakAfterStyleValue
impl Debug for BreakAfterStyleValue
Source§impl Hash for BreakAfterStyleValue
impl Hash for BreakAfterStyleValue
Source§impl Ord for BreakAfterStyleValue
impl Ord for BreakAfterStyleValue
Source§fn cmp(&self, other: &BreakAfterStyleValue) -> Ordering
fn cmp(&self, other: &BreakAfterStyleValue) -> 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 BreakAfterStyleValue
impl<'a> Parse<'a> for BreakAfterStyleValue
Source§impl PartialEq for BreakAfterStyleValue
impl PartialEq for BreakAfterStyleValue
Source§impl PartialOrd for BreakAfterStyleValue
impl PartialOrd for BreakAfterStyleValue
Source§impl<'a> Peek<'a> for BreakAfterStyleValue
impl<'a> Peek<'a> for BreakAfterStyleValue
Source§impl ToCursors for BreakAfterStyleValue
impl ToCursors for BreakAfterStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BreakAfterStyleValue
impl StructuralPartialEq for BreakAfterStyleValue
Auto Trait Implementations§
impl Freeze for BreakAfterStyleValue
impl RefUnwindSafe for BreakAfterStyleValue
impl Send for BreakAfterStyleValue
impl Sync for BreakAfterStyleValue
impl Unpin for BreakAfterStyleValue
impl UnwindSafe for BreakAfterStyleValue
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