Struct dwindow::event::ButtonEvent
[−]
[src]
pub struct ButtonEvent { pub sender: Id, pub button: Option<Button>, pub state: ButtonState, pub pos: Vec2<Coord>, pub mods: Mods, pub raw: u8, }
Pointer button event.
Fields
sender: Id
state: ButtonState
pos: Vec2<Coord>
mods: Mods
raw: u8
Trait Implementations
impl Clone for ButtonEvent
[src]
fn clone(&self) -> ButtonEvent
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