[][src]Trait joydev::event_codes::EventCode

pub trait EventCode<T> where
    Self: Clone + Copy + Debug + Default + Eq + Hash + Sized,
    T: EventCodeValue
{ const COUNT: T; const MAX: T; fn iter() -> IntoIter<Self, T> { ... } }

Trait common to all event codes

Associated Constants

const COUNT: T

Code count

const MAX: T

Maximum value

Loading content...

Provided methods

fn iter() -> IntoIter<Self, T>

Return the default event code iterator

Loading content...

Implementors

impl EventCode<u16> for Key[src]

impl EventCode<u8> for AbsoluteAxis[src]

Loading content...