[][src]Struct allegro_sys::events::ALLEGRO_USER_EVENT

#[repr(C)]pub struct ALLEGRO_USER_EVENT {
    pub _type: ALLEGRO_EVENT_TYPE,
    pub source: *mut ALLEGRO_EVENT_SOURCE,
    pub timestamp: c_double,
    pub _internal__descr: *mut c_void,
    pub data1: intptr_t,
    pub data2: intptr_t,
    pub data3: intptr_t,
    pub data4: intptr_t,
}

Fields

_type: ALLEGRO_EVENT_TYPEsource: *mut ALLEGRO_EVENT_SOURCEtimestamp: c_double_internal__descr: *mut c_voiddata1: intptr_tdata2: intptr_tdata3: intptr_tdata4: intptr_t

Trait Implementations

impl Clone for ALLEGRO_USER_EVENT[src]

impl Copy for ALLEGRO_USER_EVENT[src]

Auto Trait Implementations

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.