Enum orbtk::event::Event [] [src]

pub enum Event {
    Init,
    Mouse {
        point: Point,
        left_button: bool,
        middle_button: bool,
        right_button: bool,
    },
    KeyPressed(KeyEvent),
    KeyReleased(KeyEvent),
    Scroll {
        x: i32,
        y: i32,
    },
    Resize {
        width: u32,
        height: u32,
    },
    Unknown,
}

Variants

Fields of Mouse

Fields of Scroll

Fields of Resize

Trait Implementations

impl Copy for Event
[src]

impl Clone for Event
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

[src]

Formats the value using the given formatter.