pub unsafe trait UIPageViewControllerDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn pageViewController_willTransitionToViewControllers(
&self,
page_view_controller: &UIPageViewController,
pending_view_controllers: &NSArray<UIViewController>,
)
where Self: Sized + Message { ... }
fn pageViewController_didFinishAnimating_previousViewControllers_transitionCompleted(
&self,
page_view_controller: &UIPageViewController,
finished: bool,
previous_view_controllers: &NSArray<UIViewController>,
completed: bool,
)
where Self: Sized + Message { ... }
fn pageViewController_spineLocationForInterfaceOrientation(
&self,
page_view_controller: &UIPageViewController,
orientation: UIInterfaceOrientation,
) -> UIPageViewControllerSpineLocation
where Self: Sized + Message { ... }
fn pageViewControllerSupportedInterfaceOrientations(
&self,
page_view_controller: &UIPageViewController,
) -> UIInterfaceOrientationMask
where Self: Sized + Message { ... }
fn pageViewControllerPreferredInterfaceOrientationForPresentation(
&self,
page_view_controller: &UIPageViewController,
) -> UIInterfaceOrientation
where Self: Sized + Message { ... }
}Available on crate feature
UIPageViewController only.Expand description
Provided Methods§
fn pageViewController_willTransitionToViewControllers( &self, page_view_controller: &UIPageViewController, pending_view_controllers: &NSArray<UIViewController>, )
Available on crate features
UIResponder and UIViewController only.fn pageViewController_didFinishAnimating_previousViewControllers_transitionCompleted( &self, page_view_controller: &UIPageViewController, finished: bool, previous_view_controllers: &NSArray<UIViewController>, completed: bool, )
Available on crate features
UIResponder and UIViewController only.fn pageViewController_spineLocationForInterfaceOrientation( &self, page_view_controller: &UIPageViewController, orientation: UIInterfaceOrientation, ) -> UIPageViewControllerSpineLocation
Available on crate features
UIOrientation and UIResponder and UIViewController only.fn pageViewControllerSupportedInterfaceOrientations( &self, page_view_controller: &UIPageViewController, ) -> UIInterfaceOrientationMask
Available on crate features
UIOrientation and UIResponder and UIViewController only.fn pageViewControllerPreferredInterfaceOrientationForPresentation( &self, page_view_controller: &UIPageViewController, ) -> UIInterfaceOrientation
Available on crate features
UIOrientation and UIResponder and UIViewController only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIPageViewControllerDelegate
Source§impl ProtocolType for dyn UIPageViewControllerDelegate
impl ProtocolType for dyn UIPageViewControllerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".