pub enum Axis {
Row,
Col,
}Expand description
Which geometric axis a split is oriented along.
Returned by SplitDir::axis so consumers outside the crate can match
exhaustively without bumping into the #[non_exhaustive] restriction on
SplitDir itself.
Variants§
Row
The split divides space top-to-bottom (rows).
Col
The split divides space left-to-right (columns).
Trait Implementations§
impl Copy for Axis
impl Eq for Axis
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
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