pub unsafe trait UIPreviewInteractionDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn previewInteraction_didUpdatePreviewTransition_ended(
&self,
preview_interaction: &UIPreviewInteraction,
transition_progress: CGFloat,
ended: bool,
)
where Self: Sized + Message { ... }
fn previewInteractionDidCancel(
&self,
preview_interaction: &UIPreviewInteraction,
)
where Self: Sized + Message { ... }
fn previewInteractionShouldBegin(
&self,
preview_interaction: &UIPreviewInteraction,
) -> bool
where Self: Sized + Message { ... }
fn previewInteraction_didUpdateCommitTransition_ended(
&self,
preview_interaction: &UIPreviewInteraction,
transition_progress: CGFloat,
ended: bool,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIPreviewInteraction only.Expand description
Provided Methods§
fn previewInteraction_didUpdatePreviewTransition_ended( &self, preview_interaction: &UIPreviewInteraction, transition_progress: CGFloat, ended: bool, )
Available on crate feature
objc2-core-foundation only.fn previewInteractionDidCancel( &self, preview_interaction: &UIPreviewInteraction, )
fn previewInteractionShouldBegin( &self, preview_interaction: &UIPreviewInteraction, ) -> bool
fn previewInteraction_didUpdateCommitTransition_ended( &self, preview_interaction: &UIPreviewInteraction, transition_progress: CGFloat, ended: bool, )
Available on crate feature
objc2-core-foundation only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIPreviewInteractionDelegate
Source§impl ProtocolType for dyn UIPreviewInteractionDelegate
impl ProtocolType for dyn UIPreviewInteractionDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".