Struct client::CloseHandler [] [src]

pub struct CloseHandler;

Handler that handles the closing of the window

Trait Implementations

impl EventHandler for CloseHandler
[src]

handle_event function of CloseHandler Windows can be closed by: *clicking the 'X' on the upper edge of the window *pressing 'Escape'

fn handle_event(&mut self, e: &Event) -> EventResponse