Skip to main content

SKOverlayDelegate

Trait SKOverlayDelegate 

Source
pub unsafe trait SKOverlayDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn storeOverlay_didFailToLoadWithError(
        &self,
        overlay: &SKOverlay,
        error: &NSError,
    )
       where Self: Sized + Message { ... }
    unsafe fn storeOverlay_willStartPresentation(
        &self,
        overlay: &SKOverlay,
        transition_context: &SKOverlayTransitionContext,
    )
       where Self: Sized + Message { ... }
    unsafe fn storeOverlay_didFinishPresentation(
        &self,
        overlay: &SKOverlay,
        transition_context: &SKOverlayTransitionContext,
    )
       where Self: Sized + Message { ... }
    unsafe fn storeOverlay_willStartDismissal(
        &self,
        overlay: &SKOverlay,
        transition_context: &SKOverlayTransitionContext,
    )
       where Self: Sized + Message { ... }
    unsafe fn storeOverlay_didFinishDismissal(
        &self,
        overlay: &SKOverlay,
        transition_context: &SKOverlayTransitionContext,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature SKOverlay only.
Expand description

Provided Methods§

Source

unsafe fn storeOverlay_didFailToLoadWithError( &self, overlay: &SKOverlay, error: &NSError, )
where Self: Sized + Message,

Source

unsafe fn storeOverlay_willStartPresentation( &self, overlay: &SKOverlay, transition_context: &SKOverlayTransitionContext, )
where Self: Sized + Message,

Available on crate feature SKOverlayTransitionContext only.
Source

unsafe fn storeOverlay_didFinishPresentation( &self, overlay: &SKOverlay, transition_context: &SKOverlayTransitionContext, )
where Self: Sized + Message,

Available on crate feature SKOverlayTransitionContext only.
Source

unsafe fn storeOverlay_willStartDismissal( &self, overlay: &SKOverlay, transition_context: &SKOverlayTransitionContext, )
where Self: Sized + Message,

Available on crate feature SKOverlayTransitionContext only.
Source

unsafe fn storeOverlay_didFinishDismissal( &self, overlay: &SKOverlay, transition_context: &SKOverlayTransitionContext, )
where Self: Sized + Message,

Available on crate feature SKOverlayTransitionContext only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn SKOverlayDelegate

Source§

impl ProtocolType for dyn SKOverlayDelegate

Source§

const NAME: &'static str = "SKOverlayDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

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

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> SKOverlayDelegate for ProtocolObject<T>

Implementors§