pub enum GridCommand {
Left,
Right,
Up,
Down,
FirstInRow,
LastInRow,
PreviousPage,
NextPage,
PreviousLargePage,
NextLargePage,
}Variants§
Left
Right
Up
Down
FirstInRow
LastInRow
PreviousPage
NextPage
PreviousLargePage
Shift+PageUp; the grid defines its finite larger page interval.
NextLargePage
Shift+PageDown; the grid defines its finite larger page interval.
Implementations§
Source§impl GridCommand
impl GridCommand
pub fn key( direction: Direction, input: KeyboardInput<'_>, ) -> Option<GridCommand>
Trait Implementations§
Source§impl Clone for GridCommand
impl Clone for GridCommand
Source§fn clone(&self) -> GridCommand
fn clone(&self) -> GridCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GridCommand
Source§impl Debug for GridCommand
impl Debug for GridCommand
impl Eq for GridCommand
Source§impl PartialEq for GridCommand
impl PartialEq for GridCommand
impl StructuralPartialEq for GridCommand
Auto Trait Implementations§
impl Freeze for GridCommand
impl RefUnwindSafe for GridCommand
impl Send for GridCommand
impl Sync for GridCommand
impl Unpin for GridCommand
impl UnsafeUnpin for GridCommand
impl UnwindSafe for GridCommand
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