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§
source§impl Clone for WindowMouseEnterEvent
impl Clone for WindowMouseEnterEvent
source§fn clone(&self) -> WindowMouseEnterEvent
fn clone(&self) -> WindowMouseEnterEvent
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 WindowMouseEnterEvent
impl Debug for WindowMouseEnterEvent
source§impl From<WindowMouseEnterEvent> for WindowEvent
impl From<WindowMouseEnterEvent> for WindowEvent
source§fn from(other: WindowMouseEnterEvent) -> Self
fn from(other: WindowMouseEnterEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowMouseEnterEvent
impl RefUnwindSafe for WindowMouseEnterEvent
impl Send for WindowMouseEnterEvent
impl Sync for WindowMouseEnterEvent
impl Unpin for WindowMouseEnterEvent
impl UnwindSafe for WindowMouseEnterEvent
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