pub unsafe trait UITableViewDropPlaceholderContext: UIDragAnimating + MainThreadOnly {
// Provided methods
fn dragItem(&self) -> Retained<UIDragItem>
where Self: Sized + Message { ... }
fn commitInsertionWithDataSourceUpdates(
&self,
data_source_updates: &DynBlock<dyn Fn(NonNull<NSIndexPath>) + '_>,
) -> bool
where Self: Sized + Message { ... }
fn deletePlaceholder(&self) -> bool
where Self: Sized + Message { ... }
}Available on crate features
UIDragInteraction and UITableView only.Expand description
Provided Methods§
fn dragItem(&self) -> Retained<UIDragItem>
Available on crate feature
UIDragItem only.fn commitInsertionWithDataSourceUpdates( &self, data_source_updates: &DynBlock<dyn Fn(NonNull<NSIndexPath>) + '_>, ) -> bool
Available on crate feature
block2 only.fn deletePlaceholder(&self) -> bool
Trait Implementations§
Source§impl ProtocolType for dyn UITableViewDropPlaceholderContext
impl ProtocolType for dyn UITableViewDropPlaceholderContext
impl<T> ImplementedBy<T> for dyn UITableViewDropPlaceholderContext
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".