Enum geng::Event [−][src]
pub enum Event {
MouseDown {
position: Vec2<f64>,
button: MouseButton,
},
MouseUp {
position: Vec2<f64>,
button: MouseButton,
},
MouseMove {
position: Vec2<f64>,
delta: Vec2<f64>,
},
Wheel {
delta: f64,
},
TouchStart {
touches: Vec<TouchPoint>,
},
TouchMove {
touches: Vec<TouchPoint>,
},
TouchEnd,
KeyDown {
key: Key,
},
KeyUp {
key: Key,
},
}
Variants
Fields of Wheel
delta: f64
Fields of TouchStart
touches: Vec<TouchPoint>
Fields of TouchMove
touches: Vec<TouchPoint>
Fields of KeyDown
key: Key
Fields of KeyUp
key: Key
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more