pub enum Direction {
Both,
Column,
Row,
}Expand description
Sorting direction.
Variants§
Implementations§
Source§impl Direction
impl Direction
Sourcepub fn has_column(&self) -> bool
pub fn has_column(&self) -> bool
Checks if this direction has Direction::Column.
Sourcepub fn has_row(&self) -> bool
pub fn has_row(&self) -> bool
Checks if this direction has Direction::Row.
Trait Implementations§
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
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