pub struct MouseInput {
pub device_id: DeviceId,
pub state: ElementState,
pub button: MouseButton,
}
Fields§
§device_id: DeviceId
§state: ElementState
Trait Implementations§
Source§impl Clone for MouseInput
impl Clone for MouseInput
Source§fn clone(&self) -> MouseInput
fn clone(&self) -> MouseInput
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MouseInput
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