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_TYPE
source: *mut ALLEGRO_DISPLAY
timestamp: c_double
x: c_int
y: c_int
width: c_int
height: c_int
orientation: c_int
Trait Implementations
impl Copy for ALLEGRO_DISPLAY_EVENT
[src]
impl Clone for ALLEGRO_DISPLAY_EVENT
[src]
fn clone(&self) -> ALLEGRO_DISPLAY_EVENT
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more