Struct show_image::event::WindowMouseLeaveEvent
source · pub struct WindowMouseLeaveEvent {
pub window_id: WindowId,
pub device_id: DeviceId,
pub buttons: MouseButtonState,
}
Expand description
The mouse cursor left the window area.
Fields§
§window_id: WindowId
The ID of the window.
device_id: DeviceId
The device that generated the input.
The pressed state of all mouse buttons.
Trait Implementations§
source§impl Clone for WindowMouseLeaveEvent
impl Clone for WindowMouseLeaveEvent
source§fn clone(&self) -> WindowMouseLeaveEvent
fn clone(&self) -> WindowMouseLeaveEvent
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 moresource§impl Debug for WindowMouseLeaveEvent
impl Debug for WindowMouseLeaveEvent
source§impl From<WindowMouseLeaveEvent> for WindowEvent
impl From<WindowMouseLeaveEvent> for WindowEvent
source§fn from(other: WindowMouseLeaveEvent) -> Self
fn from(other: WindowMouseLeaveEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowMouseLeaveEvent
impl RefUnwindSafe for WindowMouseLeaveEvent
impl Send for WindowMouseLeaveEvent
impl Sync for WindowMouseLeaveEvent
impl Unpin for WindowMouseLeaveEvent
impl UnwindSafe for WindowMouseLeaveEvent
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