pub enum Direction {
LeftToRight,
TopToBottom,
}
Expand description
Direction cells should be written in: either across or downwards.
Variants§
LeftToRight
Starts at the top left and moves rightwards, going back to the first column for a new row, like a typewriter.
TopToBottom
Starts at the top left and moves downwards, going back to the first
row for a new column, like how ls
lists files by default.
Trait Implementations§
source§impl PartialEq for Direction
impl PartialEq for Direction
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin 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