Trait objc2_ui_kit::UIDragAnimating

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

Provided Methods§

source

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

Available on crate feature block2 only.
source

unsafe fn addCompletion( &self, completion: &Block<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.
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§