Struct allegro_sys::mouse::ALLEGRO_MOUSE_STATE
source · #[repr(C)]pub struct ALLEGRO_MOUSE_STATE {
pub x: c_int,
pub y: c_int,
pub z: c_int,
pub w: c_int,
pub more_axes: [c_int; 4],
pub buttons: c_int,
pub pressure: c_float,
pub display: *mut ALLEGRO_DISPLAY,
}
Fields§
§x: c_int
§y: c_int
§z: c_int
§w: c_int
§more_axes: [c_int; 4]
§pressure: c_float
§display: *mut ALLEGRO_DISPLAY
Trait Implementations§
source§impl Clone for ALLEGRO_MOUSE_STATE
impl Clone for ALLEGRO_MOUSE_STATE
source§fn clone(&self) -> ALLEGRO_MOUSE_STATE
fn clone(&self) -> ALLEGRO_MOUSE_STATE
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ALLEGRO_MOUSE_STATE
Auto Trait Implementations§
impl Freeze for ALLEGRO_MOUSE_STATE
impl RefUnwindSafe for ALLEGRO_MOUSE_STATE
impl !Send for ALLEGRO_MOUSE_STATE
impl !Sync for ALLEGRO_MOUSE_STATE
impl Unpin for ALLEGRO_MOUSE_STATE
impl UnwindSafe for ALLEGRO_MOUSE_STATE
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more