Trait forests::Navigator
[−]
[src]
pub trait Navigator { type Item; fn navigate(&mut self, dir: NavigateDir) -> Option<Self::Item>; fn seek(&mut self, pos: SeekPos) -> Option<Self::Item>; fn down(&mut self) -> Option<Self::Item> { ... } fn right(&mut self) -> Option<Self::Item> { ... } fn left(&mut self) -> Option<Self::Item> { ... } fn up(&mut self) -> Option<Self::Item> { ... } fn exit(&mut self) -> Option<Self::Item> { ... } }