[−][src]Struct show_image::MouseButtonEvent
Information describing a mouse button event.
Fields
mouse_id: u32
The mouse ID identifying which mouse triggered the event.
The button that triggered the event.
state: MouseState
State after triggering the event.
clicks: u8
Number of clicks that happened.
position_x: i32
The X coordinate of the mouse relative to the window.
position_y: i32
The Y coordinate of the mouse relative to the window.
Trait Implementations
impl Clone for MouseButtonEvent
[src]
fn clone(&self) -> MouseButtonEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MouseButtonEvent
[src]
impl Eq for MouseButtonEvent
[src]
impl PartialEq<MouseButtonEvent> for MouseButtonEvent
[src]
fn eq(&self, other: &MouseButtonEvent) -> bool
[src]
fn ne(&self, other: &MouseButtonEvent) -> bool
[src]
impl StructuralEq for MouseButtonEvent
[src]
impl StructuralPartialEq for MouseButtonEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for MouseButtonEvent
impl Send for MouseButtonEvent
impl Sync for MouseButtonEvent
impl Unpin for MouseButtonEvent
impl UnwindSafe for MouseButtonEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,