Struct allegro_sys::events::ALLEGRO_DISPLAY_EVENT[][src]

#[repr(C)]pub struct ALLEGRO_DISPLAY_EVENT {
    pub _type: ALLEGRO_EVENT_TYPE,
    pub source: *mut ALLEGRO_DISPLAY,
    pub timestamp: c_double,
    pub x: c_int,
    pub y: c_int,
    pub width: c_int,
    pub height: c_int,
    pub orientation: c_int,
}

Fields

_type: ALLEGRO_EVENT_TYPEsource: *mut ALLEGRO_DISPLAYtimestamp: c_doublex: c_inty: c_intwidth: c_intheight: c_intorientation: c_int

Trait Implementations

impl Clone for ALLEGRO_DISPLAY_EVENT[src]

impl Copy for ALLEGRO_DISPLAY_EVENT[src]

Auto Trait Implementations

impl RefUnwindSafe for ALLEGRO_DISPLAY_EVENT

impl !Send for ALLEGRO_DISPLAY_EVENT

impl !Sync for ALLEGRO_DISPLAY_EVENT

impl Unpin for ALLEGRO_DISPLAY_EVENT

impl UnwindSafe for ALLEGRO_DISPLAY_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.