pub struct MouseClickEvent {
pub timestamp: u64,
pub window_id: u32,
pub which: u32,
pub mouse_btn: MouseButton,
pub clicks: u8,
pub x: f32,
pub y: f32,
}Fields§
§timestamp: u64§window_id: u32§which: u32§mouse_btn: MouseButton§clicks: u8§x: f32§y: f32Auto Trait Implementations§
impl Freeze for MouseClickEvent
impl RefUnwindSafe for MouseClickEvent
impl Send for MouseClickEvent
impl Sync for MouseClickEvent
impl Unpin for MouseClickEvent
impl UnwindSafe for MouseClickEvent
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
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more