Trait objc2_ui_kit::UISearchResultsUpdating

source ·
pub unsafe trait UISearchResultsUpdating: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn updateSearchResultsForSearchController(
        &self,
        search_controller: &UISearchController
    )
       where Self: Sized + Message { ... }
    unsafe fn updateSearchResultsForSearchController_selectingSearchSuggestion(
        &self,
        search_controller: &UISearchController,
        search_suggestion: &ProtocolObject<dyn UISearchSuggestion>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UISearchController only.

Provided Methods§

source

unsafe fn updateSearchResultsForSearchController( &self, search_controller: &UISearchController )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

unsafe fn updateSearchResultsForSearchController_selectingSearchSuggestion( &self, search_controller: &UISearchController, search_suggestion: &ProtocolObject<dyn UISearchSuggestion> )
where Self: Sized + Message,

Available on crate features UIResponder and UISearchSuggestion and UIViewController only.

Trait Implementations§

source§

impl ProtocolType for dyn UISearchResultsUpdating

source§

const NAME: &'static str = "UISearchResultsUpdating"

The name of the Objective-C protocol that this type represents.
source§

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

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

impl<T> ImplementedBy<T> for dyn UISearchResultsUpdating

Implementations on Foreign Types§

source§

impl<T> UISearchResultsUpdating for ProtocolObject<T>

Implementors§