Struct allegro_sys::events::ALLEGRO_JOYSTICK_EVENT[][src]

#[repr(C)]pub struct ALLEGRO_JOYSTICK_EVENT {
    pub _type: ALLEGRO_EVENT_TYPE,
    pub source: *mut ALLEGRO_JOYSTICK,
    pub timestamp: c_double,
    pub id: *mut ALLEGRO_JOYSTICK,
    pub stick: c_int,
    pub axis: c_int,
    pub pos: c_float,
    pub button: c_int,
}

Fields

_type: ALLEGRO_EVENT_TYPEsource: *mut ALLEGRO_JOYSTICKtimestamp: c_doubleid: *mut ALLEGRO_JOYSTICKstick: c_intaxis: c_intpos: c_floatbutton: c_int

Trait Implementations

impl Clone for ALLEGRO_JOYSTICK_EVENT[src]

impl Copy for ALLEGRO_JOYSTICK_EVENT[src]

Auto Trait Implementations

impl RefUnwindSafe for ALLEGRO_JOYSTICK_EVENT

impl !Send for ALLEGRO_JOYSTICK_EVENT

impl !Sync for ALLEGRO_JOYSTICK_EVENT

impl Unpin for ALLEGRO_JOYSTICK_EVENT

impl UnwindSafe for ALLEGRO_JOYSTICK_EVENT

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.