Trait UIDragAnimating

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

Provided Methods§

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(UIViewAnimatingPosition)>, )
where Self: Sized + Message,

Available on crate features UIViewAnimating and block2 only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIDragAnimating

Source§

const NAME: &'static str = "UIDragAnimating"

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 UIDragAnimating

Implementations on Foreign Types§

Source§

impl<T> UIDragAnimating for ProtocolObject<T>
where T: ?Sized + UIDragAnimating,

Implementors§