Struct amethyst_ui::UiEvent[][src]

pub struct UiEvent {
    pub event_type: UiEventType,
    pub target: Entity,
}

A ui event instance.

Fields

The type of ui event.

The entity on which the event happened.

Methods

impl UiEvent
[src]

Creates a new UiEvent.

Trait Implementations

impl Debug for UiEvent
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for UiEvent

impl Sync for UiEvent