Struct show_image::event::WindowMouseEnterEvent
source · [−]pub struct WindowMouseEnterEvent {
pub window_id: WindowId,
pub device_id: DeviceId,
pub buttons: MouseButtonState,
}
Expand description
The mouse cursor entered 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 WindowMouseEnterEvent
impl Clone for WindowMouseEnterEvent
sourcefn clone(&self) -> WindowMouseEnterEvent
fn clone(&self) -> WindowMouseEnterEvent
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 WindowMouseEnterEvent
impl Debug for WindowMouseEnterEvent
sourceimpl From<WindowMouseEnterEvent> for WindowEvent
impl From<WindowMouseEnterEvent> for WindowEvent
sourcefn from(other: WindowMouseEnterEvent) -> Self
fn from(other: WindowMouseEnterEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for WindowMouseEnterEvent
impl Send for WindowMouseEnterEvent
impl Sync for WindowMouseEnterEvent
impl Unpin for WindowMouseEnterEvent
impl UnwindSafe for WindowMouseEnterEvent
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