pub enum Direction {
Row,
Column,
}Expand description
The main axis of a flex layout.
Variants§
Row
Children are placed left to right and wrap onto new lines downwards.
Column
Children are placed top to bottom and wrap onto new columns.
Trait Implementations§
impl Copy for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Forget for Direction
impl Freeze for Direction
impl Move for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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