pub unsafe trait UIKeyInput: UITextInputTraits + MainThreadOnly {
// Provided methods
unsafe fn hasText(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn insertText(&self, text: &NSString)
where Self: Sized + Message { ... }
unsafe fn deleteBackward(&self)
where Self: Sized + Message { ... }
}
Available on crate features
UITextInput
and UITextInputTraits
only.Expand description
Provided Methods§
unsafe fn hasText(&self) -> bool
unsafe fn insertText(&self, text: &NSString)
unsafe fn deleteBackward(&self)
Trait Implementations§
Source§impl ProtocolType for dyn UIKeyInput
impl ProtocolType for dyn UIKeyInput
impl<T> ImplementedBy<T> for dyn UIKeyInput
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.