Enum conrod::event::Event [] [src]

pub enum Event {
    Raw(Input),
    Ui(Ui),
}

Enum containing all the events that the Ui may provide.

Variants

Raw(Input)

Represents a raw input::Input event.

Ui(Ui)

Events that have been interpreted from backend::RawEvents by the Ui.

Most events usually

Trait Implementations

impl Debug for Event
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Event
[src]

fn eq(&self, __arg_0: &Event) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Event) -> bool

This method tests for !=.

impl Clone for Event
[src]

fn clone(&self) -> Event

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl From<Ui> for Event
[src]

fn from(ui: Ui) -> Self

Performs the conversion.

impl From<Input> for Event
[src]

fn from(input: Input) -> Self

Performs the conversion.