pub struct CursorEnterLeaveEvent {
pub window_id: u32,
pub entered: bool,
pub x: f64,
pub y: f64,
pub modifiers: KeyModifiers,
}Fields§
§window_id: u32§entered: bool§x: f64§y: f64§modifiers: KeyModifiersTrait Implementations§
Source§impl Clone for CursorEnterLeaveEvent
impl Clone for CursorEnterLeaveEvent
Source§fn clone(&self) -> CursorEnterLeaveEvent
fn clone(&self) -> CursorEnterLeaveEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CursorEnterLeaveEvent
Auto Trait Implementations§
impl Freeze for CursorEnterLeaveEvent
impl RefUnwindSafe for CursorEnterLeaveEvent
impl Send for CursorEnterLeaveEvent
impl Sync for CursorEnterLeaveEvent
impl Unpin for CursorEnterLeaveEvent
impl UnsafeUnpin for CursorEnterLeaveEvent
impl UnwindSafe for CursorEnterLeaveEvent
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