#[repr(C)]pub struct TCOD_mouse_t {Show 16 fields
pub x: c_int,
pub y: c_int,
pub dx: c_int,
pub dy: c_int,
pub cx: c_int,
pub cy: c_int,
pub dcx: c_int,
pub dcy: c_int,
pub lbutton: bool_,
pub rbutton: bool_,
pub mbutton: bool_,
pub lbutton_pressed: bool_,
pub rbutton_pressed: bool_,
pub mbutton_pressed: bool_,
pub wheel_up: bool_,
pub wheel_down: bool_,
}Fields§
§x: c_int§y: c_int§dx: c_int§dy: c_int§cx: c_int§cy: c_int§dcx: c_int§dcy: c_int§wheel_up: bool_§wheel_down: bool_Trait Implementations§
Source§impl Clone for TCOD_mouse_t
impl Clone for TCOD_mouse_t
Source§impl Debug for TCOD_mouse_t
impl Debug for TCOD_mouse_t
impl Copy for TCOD_mouse_t
Auto Trait Implementations§
impl Freeze for TCOD_mouse_t
impl RefUnwindSafe for TCOD_mouse_t
impl Send for TCOD_mouse_t
impl Sync for TCOD_mouse_t
impl Unpin for TCOD_mouse_t
impl UnwindSafe for TCOD_mouse_t
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