pub struct NativeInputEvent { /* private fields */ }Expand description
Data associated with an input event.
Contains the current value and the type of input change.
Implementations§
Source§impl NativeInputEvent
Implementation of NativeInputEvent construction.
impl NativeInputEvent
Implementation of NativeInputEvent construction.
Source§impl NativeInputEvent
impl NativeInputEvent
pub fn get_value(&self) -> &String
pub fn get_mut_value(&mut self) -> &mut String
pub fn set_value(&mut self, val: String) -> &mut Self
pub fn get_input_type(&self) -> &String
pub fn get_mut_input_type(&mut self) -> &mut String
pub fn set_input_type(&mut self, val: String) -> &mut Self
Trait Implementations§
Source§impl Default for NativeInputEvent
impl Default for NativeInputEvent
Source§fn default() -> NativeInputEvent
fn default() -> NativeInputEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NativeInputEvent
impl RefUnwindSafe for NativeInputEvent
impl Send for NativeInputEvent
impl Sync for NativeInputEvent
impl Unpin for NativeInputEvent
impl UnsafeUnpin for NativeInputEvent
impl UnwindSafe for NativeInputEvent
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