Skip to main content

BEExtendedTextInputTraits

Trait BEExtendedTextInputTraits 

Source
pub unsafe trait BEExtendedTextInputTraits: UITextInputTraits {
    // Provided methods
    unsafe fn isSingleLineDocument(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn isTypingAdaptationEnabled(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn insertionPointColor(&self) -> Option<Retained<UIColor>>
       where Self: Sized + Message { ... }
    unsafe fn selectionHandleColor(&self) -> Option<Retained<UIColor>>
       where Self: Sized + Message { ... }
    unsafe fn selectionHighlightColor(&self) -> Option<Retained<UIColor>>
       where Self: Sized + Message { ... }
}
Available on crate feature BETextInput only.
Expand description

Provided Methods§

Source

unsafe fn isSingleLineDocument(&self) -> bool
where Self: Sized + Message,

Represents whether the active web input field is a single line document

Source

unsafe fn isTypingAdaptationEnabled(&self) -> bool
where Self: Sized + Message,

Disables the learning of new words and corrections and prevents their addition into the keyboard lexicon

Source

unsafe fn insertionPointColor(&self) -> Option<Retained<UIColor>>
where Self: Sized + Message,

Customizes the color of the text cursor at the insertion point

Source

unsafe fn selectionHandleColor(&self) -> Option<Retained<UIColor>>
where Self: Sized + Message,

Customizes the color of the selection handles

Source

unsafe fn selectionHighlightColor(&self) -> Option<Retained<UIColor>>
where Self: Sized + Message,

Customizes the color of the selection highlight rect

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn BEExtendedTextInputTraits

Source§

impl ProtocolType for dyn BEExtendedTextInputTraits

Source§

const NAME: &'static str = "BEExtendedTextInputTraits"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> BEExtendedTextInputTraits for ProtocolObject<T>

Implementors§