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

When an element is clicked normally.

When the element starts being clicked (On left mouse down).

When the element stops being clicked (On left mouse up).

When the cursor gets over an element.

When the cursor stops being over an element.

Trait Implementations

impl Debug for UiEventType
[src]

Formats the value using the given formatter. Read more

impl Clone for UiEventType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for UiEventType

impl Sync for UiEventType