pub enum RowGapStyleValue {
Normal(Ident),
LengthPercentage(LengthPercentage),
}Expand description
Represents the style value for row-gap as defined in css-align-3.
CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
The grammar is defined as:
normal | <length-percentage [0,∞]>Variants§
Normal(Ident)
LengthPercentage(LengthPercentage)
Trait Implementations§
Source§impl Clone for RowGapStyleValue
impl Clone for RowGapStyleValue
Source§fn clone(&self) -> RowGapStyleValue
fn clone(&self) -> RowGapStyleValue
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 RowGapStyleValue
impl Debug for RowGapStyleValue
Source§impl Hash for RowGapStyleValue
impl Hash for RowGapStyleValue
Source§impl Ord for RowGapStyleValue
impl Ord for RowGapStyleValue
Source§fn cmp(&self, other: &RowGapStyleValue) -> Ordering
fn cmp(&self, other: &RowGapStyleValue) -> 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 RowGapStyleValue
impl<'a> Parse<'a> for RowGapStyleValue
Source§impl PartialEq for RowGapStyleValue
impl PartialEq for RowGapStyleValue
Source§impl PartialOrd for RowGapStyleValue
impl PartialOrd for RowGapStyleValue
Source§impl<'a> Peek<'a> for RowGapStyleValue
impl<'a> Peek<'a> for RowGapStyleValue
Source§impl ToCursors for RowGapStyleValue
impl ToCursors for RowGapStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for RowGapStyleValue
impl StructuralPartialEq for RowGapStyleValue
Auto Trait Implementations§
impl Freeze for RowGapStyleValue
impl RefUnwindSafe for RowGapStyleValue
impl Send for RowGapStyleValue
impl Sync for RowGapStyleValue
impl Unpin for RowGapStyleValue
impl UnwindSafe for RowGapStyleValue
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