pub enum ItemDirectionStyleValue {
Auto(Ident),
Row(Ident),
Column(Ident),
RowReverse(Ident),
ColumnReverse(Ident),
}Expand description
Represents the style value for item-direction as defined in css-grid-3.
The grammar is defined as:
auto | row | column | row-reverse | column-reverseVariants§
Trait Implementations§
Source§impl Clone for ItemDirectionStyleValue
impl Clone for ItemDirectionStyleValue
Source§fn clone(&self) -> ItemDirectionStyleValue
fn clone(&self) -> ItemDirectionStyleValue
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 ItemDirectionStyleValue
impl Debug for ItemDirectionStyleValue
Source§impl Hash for ItemDirectionStyleValue
impl Hash for ItemDirectionStyleValue
Source§impl Ord for ItemDirectionStyleValue
impl Ord for ItemDirectionStyleValue
Source§fn cmp(&self, other: &ItemDirectionStyleValue) -> Ordering
fn cmp(&self, other: &ItemDirectionStyleValue) -> 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 ItemDirectionStyleValue
impl<'a> Parse<'a> for ItemDirectionStyleValue
Source§impl PartialEq for ItemDirectionStyleValue
impl PartialEq for ItemDirectionStyleValue
Source§impl PartialOrd for ItemDirectionStyleValue
impl PartialOrd for ItemDirectionStyleValue
Source§impl<'a> Peek<'a> for ItemDirectionStyleValue
impl<'a> Peek<'a> for ItemDirectionStyleValue
Source§impl ToCursors for ItemDirectionStyleValue
impl ToCursors for ItemDirectionStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ItemDirectionStyleValue
impl StructuralPartialEq for ItemDirectionStyleValue
Auto Trait Implementations§
impl Freeze for ItemDirectionStyleValue
impl RefUnwindSafe for ItemDirectionStyleValue
impl Send for ItemDirectionStyleValue
impl Sync for ItemDirectionStyleValue
impl Unpin for ItemDirectionStyleValue
impl UnwindSafe for ItemDirectionStyleValue
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