Struct rich_sdl2_rust::event::text::TextEditingEvent
source · pub struct TextEditingEvent {
pub timestamp: u32,
pub window_id: u32,
pub text: String,
pub start: i32,
pub length: i32,
}
Expand description
An event on editing conversion on a software input method.
Fields§
§timestamp: u32
When this event occurred.
window_id: u32
The id of the window focused.
text: String
The text inputted.
start: i32
The editing position from the start.
length: i32
The length of editing characters.
Trait Implementations§
source§impl Clone for TextEditingEvent
impl Clone for TextEditingEvent
source§fn clone(&self) -> TextEditingEvent
fn clone(&self) -> TextEditingEvent
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 TextEditingEvent
impl Debug for TextEditingEvent
Auto Trait Implementations§
impl RefUnwindSafe for TextEditingEvent
impl Send for TextEditingEvent
impl Sync for TextEditingEvent
impl Unpin for TextEditingEvent
impl UnwindSafe for TextEditingEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more