pub struct GapStyleValue(pub RowGapStyleValue, pub Option<ColumnGapStyleValue>);Expand description
Represents the style value for 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:
<'row-gap'> <'column-gap'>?Tuple Fields§
§0: RowGapStyleValue§1: Option<ColumnGapStyleValue>Trait Implementations§
Source§impl Clone for GapStyleValue
impl Clone for GapStyleValue
Source§fn clone(&self) -> GapStyleValue
fn clone(&self) -> GapStyleValue
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 GapStyleValue
impl Debug for GapStyleValue
Source§impl Hash for GapStyleValue
impl Hash for GapStyleValue
Source§impl Ord for GapStyleValue
impl Ord for GapStyleValue
Source§fn cmp(&self, other: &GapStyleValue) -> Ordering
fn cmp(&self, other: &GapStyleValue) -> 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 GapStyleValue
impl<'a> Parse<'a> for GapStyleValue
Source§impl PartialEq for GapStyleValue
impl PartialEq for GapStyleValue
Source§impl PartialOrd for GapStyleValue
impl PartialOrd for GapStyleValue
Source§impl<'a> Peek<'a> for GapStyleValue
impl<'a> Peek<'a> for GapStyleValue
Source§impl ToCursors for GapStyleValue
impl ToCursors for GapStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for GapStyleValue
impl StructuralPartialEq for GapStyleValue
Auto Trait Implementations§
impl Freeze for GapStyleValue
impl RefUnwindSafe for GapStyleValue
impl Send for GapStyleValue
impl Sync for GapStyleValue
impl Unpin for GapStyleValue
impl UnwindSafe for GapStyleValue
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