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