Trait App
rawstdraw
pub trait App { pub fn handle_key(&self, keycode: u32, went_down: bool); pub fn handle_button(&self, position: Point, button: u32, went_down: bool); pub fn handle_motion(&self, position: Point, mask: u32); pub fn handle_destroy(&self); }
pub fn handle_key(&self, keycode: u32, went_down: bool)
pub fn handle_button(&self, position: Point, button: u32, went_down: bool)
pub fn handle_motion(&self, position: Point, mask: u32)
pub fn handle_destroy(&self)