Skip to main content

UIDragAnimating

Trait UIDragAnimating 

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

Provided Methods§

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

Available on crate features block2 and UIViewAnimating only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIDragAnimating

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

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> UIDragAnimating for ProtocolObject<T>
where T: ?Sized + UIDragAnimating,

Implementors§