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
sourceimpl Clone for WindowMouseLeaveEvent
impl Clone for WindowMouseLeaveEvent
sourcefn clone(&self) -> WindowMouseLeaveEvent
fn clone(&self) -> WindowMouseLeaveEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowMouseLeaveEvent
impl Debug for WindowMouseLeaveEvent
sourceimpl From<WindowMouseLeaveEvent> for WindowEvent
impl From<WindowMouseLeaveEvent> for WindowEvent
sourcefn from(other: WindowMouseLeaveEvent) -> Self
fn from(other: WindowMouseLeaveEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for WindowMouseLeaveEvent
impl Send for WindowMouseLeaveEvent
impl Sync for WindowMouseLeaveEvent
impl Unpin for WindowMouseLeaveEvent
impl UnwindSafe for WindowMouseLeaveEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more