Struct rich_sdl2_rust::event::text::TextInputEvent
source · Expand description
An event on input the text directly or confirm the conversion on the window.
Fields§
§timestamp: u32
When this event occurred.
window_id: u32
The id of the window focused.
text: String
The text inputted.
Trait Implementations§
source§impl Clone for TextInputEvent
impl Clone for TextInputEvent
source§fn clone(&self) -> TextInputEvent
fn clone(&self) -> TextInputEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TextInputEvent
impl Debug for TextInputEvent
source§impl From<SDL_TextInputEvent> for TextInputEvent
impl From<SDL_TextInputEvent> for TextInputEvent
source§fn from(raw: SDL_TextInputEvent) -> Self
fn from(raw: SDL_TextInputEvent) -> Self
Converts to this type from the input type.