Struct allegro_sys::events::ALLEGRO_EVENT[][src]

#[repr(C)]pub struct ALLEGRO_EVENT {
    pub data: [u8; 72],
}

Fields

data: [u8; 72]

Implementations

impl ALLEGRO_EVENT[src]

pub fn new() -> ALLEGRO_EVENT[src]

pub fn _type(&mut self) -> *mut ALLEGRO_EVENT_TYPE[src]

pub fn any(&mut self) -> *mut ALLEGRO_ANY_EVENT[src]

pub fn display(&mut self) -> *mut ALLEGRO_DISPLAY_EVENT[src]

pub fn joystick(&mut self) -> *mut ALLEGRO_JOYSTICK_EVENT[src]

pub fn keyboard(&mut self) -> *mut ALLEGRO_KEYBOARD_EVENT[src]

pub fn mouse(&mut self) -> *mut ALLEGRO_MOUSE_EVENT[src]

pub fn timer(&mut self) -> *mut ALLEGRO_TIMER_EVENT[src]

pub fn user(&mut self) -> *mut ALLEGRO_USER_EVENT[src]

Trait Implementations

impl Clone for ALLEGRO_EVENT[src]

impl Copy for ALLEGRO_EVENT[src]

Auto Trait Implementations

impl RefUnwindSafe for ALLEGRO_EVENT

impl Send for ALLEGRO_EVENT

impl Sync for ALLEGRO_EVENT

impl Unpin for ALLEGRO_EVENT

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