pub struct MouseState {
pub pos_x: f32,
pub pos_y: f32,
pub rmb_clicked: bool,
pub lmb_clicked: bool,
}Fields§
§pos_x: f32§pos_y: f32§rmb_clicked: bool§lmb_clicked: boolAuto Trait Implementations§
impl Freeze for MouseState
impl RefUnwindSafe for MouseState
impl Send for MouseState
impl Sync for MouseState
impl Unpin for MouseState
impl UnsafeUnpin for MouseState
impl UnwindSafe for MouseState
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