Trait dotrix_core::input::ActionMapper[][src]

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

Trait for Input Mapper, needs to be implemented.

Required methods

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

Loading content...

Implementors

Loading content...