[][src]Trait unsegen::input::Navigatable

pub trait Navigatable {
    fn move_up(&mut self) -> OperationResult;
fn move_down(&mut self) -> OperationResult;
fn move_left(&mut self) -> OperationResult;
fn move_right(&mut self) -> OperationResult; }

Something that can be navigated like a cursor in a text editor or character in a simple 2D game.

Required methods

fn move_up(&mut self) -> OperationResult

fn move_down(&mut self) -> OperationResult

fn move_left(&mut self) -> OperationResult

fn move_right(&mut self) -> OperationResult

Loading content...

Implementors

impl Navigatable for LineEdit[src]

Note that there is no concept of moving up or down for a LineEdit.

impl Navigatable for PromptLine[src]

impl<'a, 'b, 'd: 'a, C: ContainerProvider + 'a + 'b> Navigatable for NavigatableContainerManager<'a, 'b, 'd, C>[src]

impl<R: TableRow + 'static> Navigatable for Table<R>[src]

Loading content...