Trait unsegen::input::Navigatable [−][src]
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; }
Expand description
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
[src]
fn move_down(&mut self) -> OperationResult
[src]
fn move_left(&mut self) -> OperationResult
[src]
fn move_right(&mut self) -> OperationResult
[src]
Implementors
impl Navigatable for LineEdit
[src]
impl Navigatable for LineEdit
[src]Note that there is no concept of moving up or down for a LineEdit
.
fn move_up(&mut self) -> OperationResult
[src]
fn move_down(&mut self) -> OperationResult
[src]
fn move_left(&mut self) -> OperationResult
[src]
fn move_right(&mut self) -> OperationResult
[src]
impl Navigatable for PromptLine
[src]
impl Navigatable for PromptLine
[src]fn move_up(&mut self) -> OperationResult
[src]
fn move_down(&mut self) -> OperationResult
[src]
fn move_left(&mut self) -> OperationResult
[src]
fn move_right(&mut self) -> OperationResult
[src]
impl<'a, 'b, 'd: 'a, C: ContainerProvider + 'a + 'b> Navigatable for NavigatableContainerManager<'a, 'b, 'd, C>
[src]
impl<'a, 'b, 'd: 'a, C: ContainerProvider + 'a + 'b> Navigatable for NavigatableContainerManager<'a, 'b, 'd, C>
[src]fn move_up(&mut self) -> OperationResult
[src]
fn move_down(&mut self) -> OperationResult
[src]
fn move_left(&mut self) -> OperationResult
[src]
fn move_right(&mut self) -> OperationResult
[src]
impl<R: TableRow + 'static> Navigatable for Table<R>
[src]
impl<R: TableRow + 'static> Navigatable for Table<R>
[src]