Trait dotrix::input::ActionMapper[][src]

pub trait ActionMapper<T> where
    T: Copy + Eq + Hash
{ fn action_mapped(&self, action: T) -> Option<&Button>; }
Expand description

Game action to input mapping

Required methods

Checks if action is mapped and returns an appropriate button

Implementors