#[repr(C)]
pub struct ALLEGRO_MOUSE_EVENT {
Show 14 fields 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.