[][src]Struct flutter_engine::plugins::textinput::TextInputPlugin

pub struct TextInputPlugin { /* fields omitted */ }

Methods

impl TextInputPlugin[src]

pub fn new() -> TextInputPlugin[src]

pub fn with_state(&self, cbk: impl Fn(&mut TextEditingState))[src]

pub fn add_chars(&self, c: &str)[src]

pub fn select_all(&self)[src]

pub fn remove_selected_text(&self) -> bool[src]

remove_selected_text do nothing if no text is selected return true if the state has been updated

pub fn backspace(&self)[src]

Delete char to the left of caret

pub fn delete(&self)[src]

Delete char to the right of caret

pub fn move_cursor_up(&self, modifiers: Modifiers)[src]

pub fn move_cursor_down(&self, modifiers: Modifiers)[src]

pub fn move_cursor_left(&self, modifiers: Modifiers)[src]

pub fn move_cursor_right(&self, modifiers: Modifiers)[src]

pub fn move_cursor_home(&self, modifiers: Modifiers)[src]

pub fn move_cursor_end(&self, modifiers: Modifiers)[src]

pub fn get_selected_text(&self) -> String[src]

pub fn perform_action(&self, action: &str)[src]

Trait Implementations

impl Plugin for TextInputPlugin[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T