Struct show_image::event::WindowTextInputEvent
source · pub struct WindowTextInputEvent {
pub window_id: WindowId,
pub character: char,
}
Expand description
A window received text input.
Fields§
§window_id: WindowId
The ID of the window.
character: char
The unicode codepoint representing the input.
Trait Implementations§
source§impl Clone for WindowTextInputEvent
impl Clone for WindowTextInputEvent
source§fn clone(&self) -> WindowTextInputEvent
fn clone(&self) -> WindowTextInputEvent
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 WindowTextInputEvent
impl Debug for WindowTextInputEvent
source§impl From<WindowTextInputEvent> for WindowEvent
impl From<WindowTextInputEvent> for WindowEvent
source§fn from(other: WindowTextInputEvent) -> Self
fn from(other: WindowTextInputEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowTextInputEvent
impl RefUnwindSafe for WindowTextInputEvent
impl Send for WindowTextInputEvent
impl Sync for WindowTextInputEvent
impl Unpin for WindowTextInputEvent
impl UnwindSafe for WindowTextInputEvent
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