pub struct AnyTextSelectionDelegate { /* private fields */ }Expand description
Erased TextSelectionDelegate: one identity and a static vtable.
Implementations§
Source§impl AnyTextSelectionDelegate
impl AnyTextSelectionDelegate
pub fn text_editing_value(self, app: &App) -> TextEditingValue
pub fn user_update_text_editing_value( self, app: &mut App, value: TextEditingValue, cause: SelectionChangedCause, )
pub fn hide_toolbar(self, app: &mut App, hide_handles: bool)
pub fn bring_into_view(self, app: &mut App, position: TextPosition)
pub fn cut_enabled(self, app: &App) -> bool
pub fn copy_enabled(self, app: &App) -> bool
pub fn paste_enabled(self, app: &App) -> bool
pub fn select_all_enabled(self, app: &App) -> bool
pub fn look_up_enabled(self, app: &App) -> bool
pub fn search_web_enabled(self, app: &App) -> bool
pub fn live_text_input_enabled(self, app: &App) -> bool
pub fn cut_selection(self, app: &mut App, cause: SelectionChangedCause)
pub fn paste_text(self, app: &mut App, cause: SelectionChangedCause) -> Task<()> ⓘ
pub fn select_all(self, app: &mut App, cause: SelectionChangedCause)
pub fn copy_selection(self, app: &mut App, cause: SelectionChangedCause)
Trait Implementations§
Source§impl Clone for AnyTextSelectionDelegate
impl Clone for AnyTextSelectionDelegate
impl Copy for AnyTextSelectionDelegate
impl Eq for AnyTextSelectionDelegate
Auto Trait Implementations§
impl Freeze for AnyTextSelectionDelegate
impl RefUnwindSafe for AnyTextSelectionDelegate
impl Send for AnyTextSelectionDelegate
impl Sync for AnyTextSelectionDelegate
impl Unpin for AnyTextSelectionDelegate
impl UnsafeUnpin for AnyTextSelectionDelegate
impl UnwindSafe for AnyTextSelectionDelegate
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.