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§
unsafe fn dragItem(&self) -> Retained<UIDragItem>
Available on crate feature
UIDragItem
only.unsafe fn commitInsertionWithDataSourceUpdates( &self, data_source_updates: &Block<dyn Fn(NonNull<NSIndexPath>) + '_> ) -> bool
Available on crate feature
block2
only.