pub enum ColumnRuleWidthStyleValue<'a> {
LineWidthList(LineWidthList<'a>),
AutoLineWidthList(AutoLineWidthList<'a>),
}Expand description
Represents the style value for column-rule-width as defined in css-gaps-1.
Multi-column layout flows an element’s content across one or more columns in a single row, without affecting the display property of its children.
The grammar is defined as:
<line-width-list> | <auto-line-width-list>Variants§
LineWidthList(LineWidthList<'a>)
AutoLineWidthList(AutoLineWidthList<'a>)
Trait Implementations§
Source§impl<'a> Clone for ColumnRuleWidthStyleValue<'a>
impl<'a> Clone for ColumnRuleWidthStyleValue<'a>
Source§fn clone(&self) -> ColumnRuleWidthStyleValue<'a>
fn clone(&self) -> ColumnRuleWidthStyleValue<'a>
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<'a> Debug for ColumnRuleWidthStyleValue<'a>
impl<'a> Debug for ColumnRuleWidthStyleValue<'a>
Source§impl<'a> Hash for ColumnRuleWidthStyleValue<'a>
impl<'a> Hash for ColumnRuleWidthStyleValue<'a>
Source§impl<'a> Ord for ColumnRuleWidthStyleValue<'a>
impl<'a> Ord for ColumnRuleWidthStyleValue<'a>
Source§fn cmp(&self, other: &ColumnRuleWidthStyleValue<'a>) -> Ordering
fn cmp(&self, other: &ColumnRuleWidthStyleValue<'a>) -> 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 ColumnRuleWidthStyleValue<'a>
impl<'a> Parse<'a> for ColumnRuleWidthStyleValue<'a>
Source§impl<'a> PartialEq for ColumnRuleWidthStyleValue<'a>
impl<'a> PartialEq for ColumnRuleWidthStyleValue<'a>
Source§fn eq(&self, other: &ColumnRuleWidthStyleValue<'a>) -> bool
fn eq(&self, other: &ColumnRuleWidthStyleValue<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> PartialOrd for ColumnRuleWidthStyleValue<'a>
impl<'a> PartialOrd for ColumnRuleWidthStyleValue<'a>
Source§impl<'a> Peek<'a> for ColumnRuleWidthStyleValue<'a>
impl<'a> Peek<'a> for ColumnRuleWidthStyleValue<'a>
Source§impl<'a> ToCursors for ColumnRuleWidthStyleValue<'a>
impl<'a> ToCursors for ColumnRuleWidthStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for ColumnRuleWidthStyleValue<'a>
impl<'a> StructuralPartialEq for ColumnRuleWidthStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ColumnRuleWidthStyleValue<'a>
impl<'a> !RefUnwindSafe for ColumnRuleWidthStyleValue<'a>
impl<'a> !Send for ColumnRuleWidthStyleValue<'a>
impl<'a> !Sync for ColumnRuleWidthStyleValue<'a>
impl<'a> Unpin for ColumnRuleWidthStyleValue<'a>
impl<'a> !UnwindSafe for ColumnRuleWidthStyleValue<'a>
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