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