pub unsafe trait UISearchControllerDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn willPresentSearchController(
&self,
search_controller: &UISearchController,
)
where Self: Sized + Message { ... }
fn didPresentSearchController(&self, search_controller: &UISearchController)
where Self: Sized + Message { ... }
fn willDismissSearchController(
&self,
search_controller: &UISearchController,
)
where Self: Sized + Message { ... }
fn didDismissSearchController(&self, search_controller: &UISearchController)
where Self: Sized + Message { ... }
fn presentSearchController(&self, search_controller: &UISearchController)
where Self: Sized + Message { ... }
fn searchController_willChangeToSearchBarPlacement(
&self,
search_controller: &UISearchController,
new_placement: UINavigationItemSearchBarPlacement,
)
where Self: Sized + Message { ... }
fn searchController_didChangeFromSearchBarPlacement(
&self,
search_controller: &UISearchController,
previous_placement: UINavigationItemSearchBarPlacement,
)
where Self: Sized + Message { ... }
}Available on crate feature
UISearchController only.Expand description
Provided Methods§
fn willPresentSearchController(&self, search_controller: &UISearchController)
Available on crate features
UIResponder and UIViewController only.fn didPresentSearchController(&self, search_controller: &UISearchController)
Available on crate features
UIResponder and UIViewController only.fn willDismissSearchController(&self, search_controller: &UISearchController)
Available on crate features
UIResponder and UIViewController only.fn didDismissSearchController(&self, search_controller: &UISearchController)
Available on crate features
UIResponder and UIViewController only.fn presentSearchController(&self, search_controller: &UISearchController)
Available on crate features
UIResponder and UIViewController only.fn searchController_willChangeToSearchBarPlacement( &self, search_controller: &UISearchController, new_placement: UINavigationItemSearchBarPlacement, )
Available on crate features
UINavigationItem and UIResponder and UIViewController only.fn searchController_didChangeFromSearchBarPlacement( &self, search_controller: &UISearchController, previous_placement: UINavigationItemSearchBarPlacement, )
Available on crate features
UINavigationItem and UIResponder and UIViewController only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UISearchControllerDelegate
Source§impl ProtocolType for dyn UISearchControllerDelegate
impl ProtocolType for dyn UISearchControllerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".