Struct allegro_sys::events::ALLEGRO_MOUSE_EVENT[][src]

#[repr(C)]pub struct ALLEGRO_MOUSE_EVENT {
    pub _type: ALLEGRO_EVENT_TYPE,
    pub source: *mut ALLEGRO_MOUSE,
    pub timestamp: c_double,
    pub display: *mut ALLEGRO_DISPLAY,
    pub x: c_int,
    pub y: c_int,
    pub z: c_int,
    pub w: c_int,
    pub dx: c_int,
    pub dy: c_int,
    pub dz: c_int,
    pub dw: c_int,
    pub button: c_uint,
    pub pressure: c_float,
}

Fields

_type: ALLEGRO_EVENT_TYPEsource: *mut ALLEGRO_MOUSEtimestamp: c_doubledisplay: *mut ALLEGRO_DISPLAYx: c_inty: c_intz: c_intw: c_intdx: c_intdy: c_intdz: c_intdw: c_intbutton: c_uintpressure: c_float

Trait Implementations

impl Clone for ALLEGRO_MOUSE_EVENT[src]

impl Copy for ALLEGRO_MOUSE_EVENT[src]

Auto Trait Implementations

impl RefUnwindSafe for ALLEGRO_MOUSE_EVENT

impl !Send for ALLEGRO_MOUSE_EVENT

impl !Sync for ALLEGRO_MOUSE_EVENT

impl Unpin for ALLEGRO_MOUSE_EVENT

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