[−][src]Enum kiss3d_conrod::event::Ui
Represents all events interpreted by the Ui
.
Variants
Text(Option<Id>, Text)
Entered text, along with the widget that was capturing the keyboard at the time.
Press(Option<Id>, Press)
Some button was pressed, along with the widget that was capturing the device whose button was pressed.
Release(Option<Id>, Release)
Some button was released, along with the widget that was capturing the device whose button was released.
Motion(Option<Id>, Motion)
Represents all forms of motion input, alongside with the widget that was capturing the mouse at the time.
Touch(Option<Id>, Touch)
Interaction with a touch screen/surface.
WindowResized(Dimensions)
The window's dimensions were resized.
Click(Option<Id>, Click)
Represents a pointing device being pressed and subsequently released while over the same location.
DoubleClick(Option<Id>, DoubleClick)
Two Click
events with the same button
and xy
occurring within a duration that is less
that the theme.double_click_threshold
.
Tap(Option<Id>, Tap)
A user tapped a touch screen/surface.
Drag(Option<Id>, Drag)
Represents a pointing device button being pressed and a subsequent movement of the mouse.
Scroll(Option<Id>, Scroll)
A generic scroll event.
Scroll
does not necessarily have to get created by a mouse wheel, it could be generated
from a keypress, or as a response to handling some other event.
Received Scroll
events are first applied to all scrollable widgets under the mouse from
top to bottom. The remainder will then be applied to either 1. whatever widget captures the
device from which the scroll was emitted or 2. whatever widget was specified.
WidgetCapturesInputSource(Id, Source)
Indicates that the given widget has captured the given user input source.
WidgetUncapturesInputSource(Id, Source)
Indicates that the given widget has released the given user input source.
Trait Implementations
impl Clone for Ui
[src]
fn clone(&self) -> Ui
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Ui> for Ui
[src]
impl From<Ui> for Event
[src]
impl Debug for Ui
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
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> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,