pub unsafe trait UIKeyInput: UITextInputTraits + MainThreadOnly {
// Provided methods
fn hasText(&self) -> bool
where Self: Sized + Message { ... }
fn insertText(&self, text: &NSString)
where Self: Sized + Message { ... }
fn deleteBackward(&self)
where Self: Sized + Message { ... }
}Available on crate features
UITextInput and UITextInputTraits only.Expand description
Provided Methods§
fn hasText(&self) -> bool
fn insertText(&self, text: &NSString)
fn deleteBackward(&self)
Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIKeyInput
Source§impl ProtocolType for dyn UIKeyInput
impl ProtocolType for dyn UIKeyInput
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> UIKeyInput for ProtocolObject<T>where
T: ?Sized + UIKeyInput,
Implementors§
impl UIKeyInput for UISearchTextField
Available on crate feature
UISearchTextField only.impl UIKeyInput for UITextField
Available on crate feature
UITextField only.impl UIKeyInput for UITextView
Available on crate feature
UITextView only.