pub struct AnyTextInputClient { /* private fields */ }Expand description
Erased TextInputClient: one identity and a static vtable.
Implementations§
Source§impl AnyTextInputClient
impl AnyTextInputClient
pub fn current_text_editing_value(self, app: &App) -> Option<TextEditingValue>
pub fn update_editing_value(self, app: &mut App, value: TextEditingValue)
pub fn perform_action(self, app: &mut App, action: TextInputAction)
pub fn perform_private_command(self, app: &mut App, action: &str)
pub fn update_floating_cursor( self, app: &mut App, point: RawFloatingCursorPoint, )
pub fn show_autocorrection_prompt_rect( self, app: &mut App, start: i32, end: i32, )
pub fn connection_closed(self, app: &mut App)
pub fn show_toolbar(self, app: &mut App)
pub fn insert_text_placeholder(self, app: &mut App, size: Size)
pub fn remove_text_placeholder(self, app: &mut App)
pub fn perform_selector(self, app: &mut App, selector_name: &str)
Trait Implementations§
Source§impl Clone for AnyTextInputClient
impl Clone for AnyTextInputClient
impl Copy for AnyTextInputClient
impl Eq for AnyTextInputClient
Auto Trait Implementations§
impl Freeze for AnyTextInputClient
impl RefUnwindSafe for AnyTextInputClient
impl Send for AnyTextInputClient
impl Sync for AnyTextInputClient
impl Unpin for AnyTextInputClient
impl UnsafeUnpin for AnyTextInputClient
impl UnwindSafe for AnyTextInputClient
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.