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

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

Game action to input mapping

Required methods

pub fn action_mapped(&self, action: T) -> Option<&Button>[src]

Checks if action is mapped and returns an appropriate button

Loading content...

Implementors

Loading content...