Enum pxl::Event[][src]

pub enum Event {
    Button {
        state: ButtonState,
        button: Button,
    },
    Key {
        character: char,
    },
}

Variants

Fields of Button

Fields of Key

Trait Implementations

impl Copy for Event
[src]

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Event

impl Sync for Event