Enum pxl::Event [−][src]
pub enum Event { Button { state: ButtonState, button: Button, }, Key { character: char, }, }
Variants
Button
Fields of Button
state: ButtonState | |
Key
Fields of Key
character: char |
Trait Implementations
impl Copy for Event
[src]
impl Copy for Event
impl Clone for Event
[src]
impl Clone for Event
fn clone(&self) -> Event
[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Event
[src]
impl Debug for Event