pub enum GridWrapMode {
None,
Axis,
Flow,
}Expand description
Boundary wrap-around mode for multi-column grid navigation.
Variants§
None
No wrapping: navigation stops at grid boundaries.
Axis
Toroidal / axis wrap: navigation wraps around within the same row or column. Moving Right wraps to the start of the same row; moving Down wraps to the top of the same column.
Flow
Linear / continuous reading-order wrap: Moving Right past the end of a row advances to the start of the next row. Moving Left past the start of a row retreats to the end of the previous row. Moving past the last/first row wraps to the other end of the grid.
Trait Implementations§
Source§impl Clone for GridWrapMode
impl Clone for GridWrapMode
impl Copy for GridWrapMode
Source§impl Debug for GridWrapMode
impl Debug for GridWrapMode
Source§impl Default for GridWrapMode
impl Default for GridWrapMode
impl Eq for GridWrapMode
Source§impl Hash for GridWrapMode
impl Hash for GridWrapMode
Source§impl PartialEq for GridWrapMode
impl PartialEq for GridWrapMode
impl StructuralPartialEq for GridWrapMode
Auto Trait Implementations§
impl Forget for GridWrapMode
impl Freeze for GridWrapMode
impl Move for GridWrapMode
impl RefUnwindSafe for GridWrapMode
impl Send for GridWrapMode
impl Sync for GridWrapMode
impl Unpin for GridWrapMode
impl UnsafeUnpin for GridWrapMode
impl UnwindSafe for GridWrapMode
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