[−][src]Trait input::CloseEvent
Window is closing.
Required methods
fn from_close_args(args: &CloseArgs, old_event: &Self) -> Option<Self>
Creates a close event from arguments.
Preserves time stamp from original input event, if any.
fn close<U, F>(&self, f: F) -> Option<U> where
F: FnMut(&CloseArgs) -> U,
F: FnMut(&CloseArgs) -> U,
Calls closure if this is a close event.
Provided methods
fn close_args(&self) -> Option<CloseArgs>
Returns close arguments.