#[repr(C)]pub struct TextInputStateWrapper {
pub inner: TextInputState,
pub on_text_input: OptionTextInputOnTextInput,
pub on_virtual_key_down: OptionTextInputOnVirtualKeyDown,
pub on_focus_lost: OptionTextInputOnFocusLost,
pub update_text_input_before_calling_focus_lost_fn: bool,
pub update_text_input_before_calling_vk_down_fn: bool,
pub cursor_animation: OptionTimerId,
}Fields§
§inner: TextInputState§on_text_input: OptionTextInputOnTextInput§on_virtual_key_down: OptionTextInputOnVirtualKeyDown§on_focus_lost: OptionTextInputOnFocusLost§update_text_input_before_calling_focus_lost_fn: bool§update_text_input_before_calling_vk_down_fn: bool§cursor_animation: OptionTimerIdTrait Implementations§
Source§impl Clone for TextInputStateWrapper
impl Clone for TextInputStateWrapper
Source§fn clone(&self) -> TextInputStateWrapper
fn clone(&self) -> TextInputStateWrapper
Returns a duplicate 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 TextInputStateWrapper
impl Debug for TextInputStateWrapper
Source§impl Default for TextInputStateWrapper
impl Default for TextInputStateWrapper
Source§impl PartialEq for TextInputStateWrapper
impl PartialEq for TextInputStateWrapper
impl StructuralPartialEq for TextInputStateWrapper
Auto Trait Implementations§
impl Freeze for TextInputStateWrapper
impl RefUnwindSafe for TextInputStateWrapper
impl Send for TextInputStateWrapper
impl Sync for TextInputStateWrapper
impl Unpin for TextInputStateWrapper
impl UnwindSafe for TextInputStateWrapper
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more