Trait input::TextEvent [−][src]
When receiving text from user, such as typing a character
Required methods
fn from_text(text: &str, old_event: &Self) -> Option<Self>
[src]
Creates a text event.
fn text<U, F>(&self, f: F) -> Option<U> where
F: FnMut(&str) -> U,
[src]
F: FnMut(&str) -> U,
Calls closure if this is a text event.