[−][src]Enum quicksilver::lifecycle::Event
An input event
Variants
Closed
The application has been closed
Focused
The application has gained focus
Unfocused
The application has lost focus
Key(Key, ButtonState)
A key has changed its button state
Typed(char)
An alphanumeric character has been entered from the keyboard
MouseMoved(Vector)
The mouse has been moved to a position
MouseEntered
The mouse has entered the window
MouseExited
The mouse has exited the window
MouseWheel(Vector)
The mouse wheel has been scrolled by a vector
MouseButton(MouseButton, ButtonState)
A mouse button has changed its button state
GamepadAxis(i32, GamepadAxis, f32)
A gamepad axis has changed its state
GamepadButton(i32, GamepadButton, ButtonState)
A gamepad button has changed its state
GamepadConnected(i32)
A gamepad has been connected
GamepadDisconnected(i32)
A gamepad has been disconnected
Trait Implementations
impl Copy for Event
[src]
impl Clone for Event
[src]
fn clone(&self) -> Event
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Event
[src]
Auto Trait Implementations
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn is_in_subset(&self) -> bool
[src]
unsafe fn to_subset_unchecked(&self) -> SS
[src]
fn from_subset(element: &SS) -> SP
[src]
impl<T> Downcast for T where
T: Any,
T: Any,