Skip to main content

DirectionalTextEditingIntent

Trait DirectionalTextEditingIntent 

Source
pub trait DirectionalTextEditingIntent: Intent {
    // Required method
    fn forward(&self) -> bool;
}
Expand description

A text editing related Intent that performs an operation towards a given direction of the current caret location.

Required Methods§

Source

fn forward(&self) -> bool

Whether the input field, if applicable, should perform the text editing operation from the current caret location towards the end of the document.

Unless otherwise specified by the recipient of this intent, this parameter uses the logical order of characters in the string to determine the direction, and is not affected by the writing direction of the text.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§