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
ClickWhen an element is clicked normally.
ClickStartWhen the element starts being clicked (On left mouse down).
ClickStopWhen the element stops being clicked (On left mouse up).
HoverStartWhen the cursor gets over an element.
HoverStopWhen the cursor stops being over an element.
Trait Implementations
impl Debug for UiEventType[src]
impl Debug for UiEventTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for UiEventType[src]
impl Clone for UiEventTypefn clone(&self) -> UiEventType[src]
fn clone(&self) -> UiEventTypeReturns 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 UiEventTypeimpl Sync for UiEventType
impl Sync for UiEventType