pub struct TextInputEvent {
pub input: String,
pub replace_last: bool,
pub was_paste: bool,
}
Fields§
§input: String
§replace_last: bool
§was_paste: bool
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 DeBin for TextInputEvent
impl DeBin for TextInputEvent
Source§impl DeJson for TextInputEvent
impl DeJson for TextInputEvent
fn de_json( s: &mut DeJsonState, i: &mut Chars<'_>, ) -> Result<TextInputEvent, DeJsonErr>
fn deserialize_json(input: &str) -> Result<Self, DeJsonErr>
Source§impl Debug for TextInputEvent
impl Debug for TextInputEvent
Source§impl PartialEq for TextInputEvent
impl PartialEq for TextInputEvent
Source§impl SerBin for TextInputEvent
impl SerBin for TextInputEvent
Source§impl SerJson for TextInputEvent
impl SerJson for TextInputEvent
fn ser_json(&self, d: usize, s: &mut SerJsonState)
fn serialize_json(&self) -> String
impl StructuralPartialEq for TextInputEvent
Auto Trait Implementations§
impl Freeze for TextInputEvent
impl RefUnwindSafe for TextInputEvent
impl Send for TextInputEvent
impl Sync for TextInputEvent
impl Unpin for TextInputEvent
impl UnwindSafe for TextInputEvent
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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