pub unsafe trait UICollectionViewDropPlaceholderContext: UIDragAnimating + IsMainThreadOnly {
    // Provided methods
    unsafe fn dragItem(&self) -> Retained<UIDragItem>
       where Self: Sized + Message { ... }
    unsafe fn commitInsertionWithDataSourceUpdates(
        &self,
        data_source_updates: &Block<dyn Fn(NonNull<NSIndexPath>) + '_>
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn deletePlaceholder(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn setNeedsCellUpdate(&self)
       where Self: Sized + Message { ... }
}
Available on crate features UICollectionView and UIDragInteraction only.

Provided Methods§

source

unsafe fn dragItem(&self) -> Retained<UIDragItem>
where Self: Sized + Message,

Available on crate feature UIDragItem only.
source

unsafe fn commitInsertionWithDataSourceUpdates( &self, data_source_updates: &Block<dyn Fn(NonNull<NSIndexPath>) + '_> ) -> bool
where Self: Sized + Message,

Available on crate feature block2 only.
source

unsafe fn deletePlaceholder(&self) -> bool
where Self: Sized + Message,

source

unsafe fn setNeedsCellUpdate(&self)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UICollectionViewDropPlaceholderContext

source§

const NAME: &'static str = "UICollectionViewDropPlaceholderContext"

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 UICollectionViewDropPlaceholderContext

Implementations on Foreign Types§

source§

impl<T> UICollectionViewDropPlaceholderContext for ProtocolObject<T>

Implementors§