pub unsafe trait UITableViewDropPlaceholderContext: UIDragAnimating + MainThreadOnly {
// Provided methods
unsafe fn dragItem(&self) -> Retained<UIDragItem>
where Self: Sized + Message { ... }
unsafe fn commitInsertionWithDataSourceUpdates(
&self,
data_source_updates: &DynBlock<dyn Fn(NonNull<NSIndexPath>) + '_>,
) -> bool
where Self: Sized + Message { ... }
unsafe fn deletePlaceholder(&self) -> bool
where Self: Sized + Message { ... }
}
Available on crate features
UIDragInteraction
and UITableView
only.Expand description
Provided Methods§
unsafe fn dragItem(&self) -> Retained<UIDragItem>
Available on crate feature
UIDragItem
only.unsafe fn commitInsertionWithDataSourceUpdates( &self, data_source_updates: &DynBlock<dyn Fn(NonNull<NSIndexPath>) + '_>, ) -> bool
Available on crate feature
block2
only.