pub unsafe trait UIContextMenuInteractionAnimating: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn previewViewController(&self) -> Option<Retained<UIViewController>>
where Self: Sized + Message { ... }
fn addAnimations(&self, animations: &DynBlock<dyn Fn()>)
where Self: Sized + Message { ... }
fn addCompletion(&self, completion: &DynBlock<dyn Fn()>)
where Self: Sized + Message { ... }
}Available on crate feature
UIContextMenuInteraction only.Expand description
Provided Methods§
Sourcefn previewViewController(&self) -> Option<Retained<UIViewController>>
Available on crate features UIResponder and UIViewController only.
fn previewViewController(&self) -> Option<Retained<UIViewController>>
UIResponder and UIViewController only.Displayed preview view controller.
fn addAnimations(&self, animations: &DynBlock<dyn Fn()>)
Available on crate feature
block2 only.fn addCompletion(&self, completion: &DynBlock<dyn Fn()>)
Available on crate feature
block2 only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIContextMenuInteractionAnimating
Source§impl ProtocolType for dyn UIContextMenuInteractionAnimating
impl ProtocolType for dyn UIContextMenuInteractionAnimating
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".