UIContextMenuInteractionAnimating

Trait UIContextMenuInteractionAnimating 

Source
pub unsafe trait UIContextMenuInteractionAnimating: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn previewViewController(&self) -> Option<Retained<UIViewController>>
       where Self: Sized + Message { ... }
    unsafe fn addAnimations(&self, animations: &DynBlock<dyn Fn()>)
       where Self: Sized + Message { ... }
    unsafe fn addCompletion(&self, completion: &DynBlock<dyn Fn()>)
       where Self: Sized + Message { ... }
}
Available on crate feature UIContextMenuInteraction only.
Expand description

Provided Methods§

Source

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

Available on crate features UIResponder and UIViewController only.

Displayed preview view controller.

Source

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

Available on crate feature block2 only.
Source

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

Available on crate feature block2 only.

Trait Implementations§

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

impl<T> ImplementedBy<T> for dyn UIContextMenuInteractionAnimating

Implementations on Foreign Types§

Source§

impl<T> UIContextMenuInteractionAnimating for ProtocolObject<T>

Implementors§