Enum amethyst_ui::UiEventType [−][src]
pub enum UiEventType { Click, ClickStart, ClickStop, HoverStart, HoverStop, }
The type of ui event. Click happens if you start and stop clicking on the same ui element.
Variants
Click
When an element is clicked normally.
ClickStart
When the element starts being clicked (On left mouse down).
ClickStop
When the element stops being clicked (On left mouse up).
HoverStart
When the cursor gets over an element.
HoverStop
When the cursor stops being over an element.
Trait Implementations
impl Debug for UiEventType
[src]
impl Debug for UiEventType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for UiEventType
[src]
impl Clone for UiEventType
fn clone(&self) -> UiEventType
[src]
fn clone(&self) -> UiEventType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for UiEventType
impl Send for UiEventType
impl Sync for UiEventType
impl Sync for UiEventType