Struct tic80_sys::sys::MouseInput
source · #[repr(C)]pub struct MouseInput {
pub x: i16,
pub y: i16,
pub scroll_x: i8,
pub scroll_y: i8,
pub left: bool,
pub middle: bool,
pub right: bool,
}
Fields§
§x: i16
§y: i16
§scroll_x: i8
§scroll_y: i8
§left: bool
§middle: bool
§right: bool
Trait Implementations§
source§impl Default for MouseInput
impl Default for MouseInput
source§fn default() -> MouseInput
fn default() -> MouseInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MouseInput
impl Send for MouseInput
impl Sync for MouseInput
impl Unpin for MouseInput
impl UnwindSafe for MouseInput
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