pub unsafe trait UISearchTextFieldPasteItem: UITextPasteItem + MainThreadOnly {
// Provided method
unsafe fn setSearchTokenResult(&self, token: &UISearchToken)
where Self: Sized + Message { ... }
}
Available on crate features
UISearchTextField
and UITextPasteDelegate
only.Expand description
A protocol that refines UITextPasteItem to support pasting of tokens.
Paste items vended by UISearchTextField conform to this protocol.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn setSearchTokenResult(&self, token: &UISearchToken)
unsafe fn setSearchTokenResult(&self, token: &UISearchToken)
Transforms this paste item into a token at the end of the search text field’s token array.