Trait objc2_ui_kit::UIPreviewInteractionDelegate

source ·
pub unsafe trait UIPreviewInteractionDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn previewInteraction_didUpdatePreviewTransition_ended(
        &self,
        preview_interaction: &UIPreviewInteraction,
        transition_progress: CGFloat,
        ended: bool
    )
       where Self: Sized + Message { ... }
    unsafe fn previewInteractionDidCancel(
        &self,
        preview_interaction: &UIPreviewInteraction
    )
       where Self: Sized + Message { ... }
    unsafe fn previewInteractionShouldBegin(
        &self,
        preview_interaction: &UIPreviewInteraction
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn previewInteraction_didUpdateCommitTransition_ended(
        &self,
        preview_interaction: &UIPreviewInteraction,
        transition_progress: CGFloat,
        ended: bool
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIPreviewInteraction only.

Provided Methods§

source

unsafe fn previewInteraction_didUpdatePreviewTransition_ended( &self, preview_interaction: &UIPreviewInteraction, transition_progress: CGFloat, ended: bool )
where Self: Sized + Message,

source

unsafe fn previewInteractionDidCancel( &self, preview_interaction: &UIPreviewInteraction )
where Self: Sized + Message,

source

unsafe fn previewInteractionShouldBegin( &self, preview_interaction: &UIPreviewInteraction ) -> bool
where Self: Sized + Message,

source

unsafe fn previewInteraction_didUpdateCommitTransition_ended( &self, preview_interaction: &UIPreviewInteraction, transition_progress: CGFloat, ended: bool )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UIPreviewInteractionDelegate

source§

const NAME: &'static str = "UIPreviewInteractionDelegate"

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 UIPreviewInteractionDelegate

Implementations on Foreign Types§

source§

impl<T> UIPreviewInteractionDelegate for ProtocolObject<T>

Implementors§