Trait conrod::widget::list_select::Direction
[−]
[src]
pub trait Direction: Direction { fn key_direction(key: Key) -> Option<ListDirection>; }
A trait that extends the List
Direction
trait with behaviour necessary for the ListSelect
widget.
Implemented for the Down
, Right
, Up
, Left
types.
Required Methods
fn key_direction(key: Key) -> Option<ListDirection>
Maps a given key
to a direction along the list.