pub unsafe trait UISearchDisplayDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn searchDisplayControllerWillBeginSearch(
&self,
controller: &UISearchDisplayController,
)
where Self: Sized + Message { ... }
fn searchDisplayControllerDidBeginSearch(
&self,
controller: &UISearchDisplayController,
)
where Self: Sized + Message { ... }
fn searchDisplayControllerWillEndSearch(
&self,
controller: &UISearchDisplayController,
)
where Self: Sized + Message { ... }
fn searchDisplayControllerDidEndSearch(
&self,
controller: &UISearchDisplayController,
)
where Self: Sized + Message { ... }
fn searchDisplayController_didLoadSearchResultsTableView(
&self,
controller: &UISearchDisplayController,
table_view: &UITableView,
)
where Self: Sized + Message { ... }
fn searchDisplayController_willUnloadSearchResultsTableView(
&self,
controller: &UISearchDisplayController,
table_view: &UITableView,
)
where Self: Sized + Message { ... }
fn searchDisplayController_willShowSearchResultsTableView(
&self,
controller: &UISearchDisplayController,
table_view: &UITableView,
)
where Self: Sized + Message { ... }
fn searchDisplayController_didShowSearchResultsTableView(
&self,
controller: &UISearchDisplayController,
table_view: &UITableView,
)
where Self: Sized + Message { ... }
fn searchDisplayController_willHideSearchResultsTableView(
&self,
controller: &UISearchDisplayController,
table_view: &UITableView,
)
where Self: Sized + Message { ... }
fn searchDisplayController_didHideSearchResultsTableView(
&self,
controller: &UISearchDisplayController,
table_view: &UITableView,
)
where Self: Sized + Message { ... }
fn searchDisplayController_shouldReloadTableForSearchString(
&self,
controller: &UISearchDisplayController,
search_string: Option<&NSString>,
) -> bool
where Self: Sized + Message { ... }
fn searchDisplayController_shouldReloadTableForSearchScope(
&self,
controller: &UISearchDisplayController,
search_option: NSInteger,
) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
UISearchDisplayController only.Expand description
Provided MethodsΒ§
fn searchDisplayControllerWillBeginSearch( &self, controller: &UISearchDisplayController, )
πDeprecated
fn searchDisplayControllerDidBeginSearch( &self, controller: &UISearchDisplayController, )
πDeprecated
fn searchDisplayControllerWillEndSearch( &self, controller: &UISearchDisplayController, )
πDeprecated
fn searchDisplayControllerDidEndSearch( &self, controller: &UISearchDisplayController, )
πDeprecated
fn searchDisplayController_didLoadSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView, )
πDeprecated
Available on crate features
UIResponder and UIScrollView and UITableView and UIView only.fn searchDisplayController_willUnloadSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView, )
πDeprecated
Available on crate features
UIResponder and UIScrollView and UITableView and UIView only.fn searchDisplayController_willShowSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView, )
πDeprecated
Available on crate features
UIResponder and UIScrollView and UITableView and UIView only.fn searchDisplayController_didShowSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView, )
πDeprecated
Available on crate features
UIResponder and UIScrollView and UITableView and UIView only.fn searchDisplayController_willHideSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView, )
πDeprecated
Available on crate features
UIResponder and UIScrollView and UITableView and UIView only.fn searchDisplayController_didHideSearchResultsTableView( &self, controller: &UISearchDisplayController, table_view: &UITableView, )
πDeprecated
Available on crate features
UIResponder and UIScrollView and UITableView and UIView only.fn searchDisplayController_shouldReloadTableForSearchString( &self, controller: &UISearchDisplayController, search_string: Option<&NSString>, ) -> bool
πDeprecated
fn searchDisplayController_shouldReloadTableForSearchScope( &self, controller: &UISearchDisplayController, search_option: NSInteger, ) -> bool
πDeprecated
Trait ImplementationsΒ§
impl<T> ImplementedBy<T> for dyn UISearchDisplayDelegate
SourceΒ§impl ProtocolType for dyn UISearchDisplayDelegate
impl ProtocolType for dyn UISearchDisplayDelegate
Dyn CompatibilityΒ§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".