pub enum BoxDecorationBreakStyleValue {
Slice(Ident),
Clone(Ident),
}Expand description
Represents the style value for box-decoration-break as defined in css-break-4.
The box-decoration-break CSS property sets whether box decorations, such as borders or backgrounds, of an element divided across a page, column, or region wraps each fragment or splits across the break.
The grammar is defined as:
slice | cloneVariants§
Trait Implementations§
Source§impl Clone for BoxDecorationBreakStyleValue
impl Clone for BoxDecorationBreakStyleValue
Source§fn clone(&self) -> BoxDecorationBreakStyleValue
fn clone(&self) -> BoxDecorationBreakStyleValue
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 BoxDecorationBreakStyleValue
impl Debug for BoxDecorationBreakStyleValue
Source§impl Hash for BoxDecorationBreakStyleValue
impl Hash for BoxDecorationBreakStyleValue
Source§impl Ord for BoxDecorationBreakStyleValue
impl Ord for BoxDecorationBreakStyleValue
Source§fn cmp(&self, other: &BoxDecorationBreakStyleValue) -> Ordering
fn cmp(&self, other: &BoxDecorationBreakStyleValue) -> 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 BoxDecorationBreakStyleValue
impl<'a> Parse<'a> for BoxDecorationBreakStyleValue
Source§impl PartialEq for BoxDecorationBreakStyleValue
impl PartialEq for BoxDecorationBreakStyleValue
Source§fn eq(&self, other: &BoxDecorationBreakStyleValue) -> bool
fn eq(&self, other: &BoxDecorationBreakStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BoxDecorationBreakStyleValue
impl PartialOrd for BoxDecorationBreakStyleValue
Source§impl<'a> Peek<'a> for BoxDecorationBreakStyleValue
impl<'a> Peek<'a> for BoxDecorationBreakStyleValue
Source§impl ToCursors for BoxDecorationBreakStyleValue
impl ToCursors for BoxDecorationBreakStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BoxDecorationBreakStyleValue
impl StructuralPartialEq for BoxDecorationBreakStyleValue
Auto Trait Implementations§
impl Freeze for BoxDecorationBreakStyleValue
impl RefUnwindSafe for BoxDecorationBreakStyleValue
impl Send for BoxDecorationBreakStyleValue
impl Sync for BoxDecorationBreakStyleValue
impl Unpin for BoxDecorationBreakStyleValue
impl UnwindSafe for BoxDecorationBreakStyleValue
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