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. Happens when the element both start and stops being clicked.

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

Auto Trait Implementations

impl Send for UiEventType

impl Sync for UiEventType