[−][src]Trait input::ReleaseEvent
The release of a button.
Required methods
fn from_button(button: Button, old_event: &Self) -> Option<Self>
Creates a release event.
Preserves scancode from original button event, if any. Preserves time stamp from original input event, if any.
fn release<U, F>(&self, f: F) -> Option<U> where
F: FnMut(Button) -> U,
F: FnMut(Button) -> U,
Calls closure if this is a release event.
Provided methods
fn release_args(&self) -> Option<Button>
Returns release arguments.
Implementors
impl<T> ReleaseEvent for T where
T: ButtonEvent,
[src]
T: ButtonEvent,