pub enum ColumnGapStyleValue {
Normal(Ident),
LengthPercentage(LengthPercentage),
}Expand description
Represents the style value for column-gap as defined in css-align-3.
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:
normal | <length-percentage [0,∞]>Variants§
Normal(Ident)
LengthPercentage(LengthPercentage)
Trait Implementations§
Source§impl Clone for ColumnGapStyleValue
impl Clone for ColumnGapStyleValue
Source§fn clone(&self) -> ColumnGapStyleValue
fn clone(&self) -> ColumnGapStyleValue
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 ColumnGapStyleValue
impl Debug for ColumnGapStyleValue
Source§impl Hash for ColumnGapStyleValue
impl Hash for ColumnGapStyleValue
Source§impl Ord for ColumnGapStyleValue
impl Ord for ColumnGapStyleValue
Source§fn cmp(&self, other: &ColumnGapStyleValue) -> Ordering
fn cmp(&self, other: &ColumnGapStyleValue) -> 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 ColumnGapStyleValue
impl<'a> Parse<'a> for ColumnGapStyleValue
Source§impl PartialEq for ColumnGapStyleValue
impl PartialEq for ColumnGapStyleValue
Source§impl PartialOrd for ColumnGapStyleValue
impl PartialOrd for ColumnGapStyleValue
Source§impl<'a> Peek<'a> for ColumnGapStyleValue
impl<'a> Peek<'a> for ColumnGapStyleValue
Source§impl ToCursors for ColumnGapStyleValue
impl ToCursors for ColumnGapStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ColumnGapStyleValue
impl StructuralPartialEq for ColumnGapStyleValue
Auto Trait Implementations§
impl Freeze for ColumnGapStyleValue
impl RefUnwindSafe for ColumnGapStyleValue
impl Send for ColumnGapStyleValue
impl Sync for ColumnGapStyleValue
impl Unpin for ColumnGapStyleValue
impl UnwindSafe for ColumnGapStyleValue
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