pub enum FlexDirection {
Row,
RowReverse,
Column,
ColumnReverse,
}Expand description
The flex-direction keyword. Lynx accepts the four standard
values; the deprecated vertical and horizontal aliases are
not included.
Variants§
Row
row — main axis runs left-to-right. Default.
RowReverse
row-reverse — main axis runs right-to-left.
Column
column — main axis runs top-to-bottom.
ColumnReverse
column-reverse — main axis runs bottom-to-top.
Trait Implementations§
Source§impl Clone for FlexDirection
impl Clone for FlexDirection
Source§fn clone(&self) -> FlexDirection
fn clone(&self) -> FlexDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FlexDirection
Source§impl Debug for FlexDirection
impl Debug for FlexDirection
impl Eq for FlexDirection
Source§impl Hash for FlexDirection
impl Hash for FlexDirection
Source§impl PartialEq for FlexDirection
impl PartialEq for FlexDirection
Source§fn eq(&self, other: &FlexDirection) -> bool
fn eq(&self, other: &FlexDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FlexDirection
Auto Trait Implementations§
impl Freeze for FlexDirection
impl RefUnwindSafe for FlexDirection
impl Send for FlexDirection
impl Sync for FlexDirection
impl Unpin for FlexDirection
impl UnsafeUnpin for FlexDirection
impl UnwindSafe for FlexDirection
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