Skip to main content

UIContextMenuInteractionAnimating

Trait UIContextMenuInteractionAnimating 

Source
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§

Source

fn previewViewController(&self) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.

Displayed preview view controller.

Source

fn addAnimations(&self, animations: &DynBlock<dyn Fn()>)
where Self: Sized + Message,

Available on crate feature block2 only.
Source

fn addCompletion(&self, completion: &DynBlock<dyn Fn()>)
where Self: Sized + Message,

Available on crate feature block2 only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIContextMenuInteractionAnimating

Source§

impl ProtocolType for dyn UIContextMenuInteractionAnimating

Source§

const NAME: &'static str = "UIContextMenuInteractionAnimating"

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> UIContextMenuInteractionAnimating for ProtocolObject<T>

Implementors§