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