Trait UITableViewDropPlaceholderContext

Source
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§

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: &DynBlock<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,

Trait Implementations§

Source§

impl ProtocolType for dyn UITableViewDropPlaceholderContext

Source§

const NAME: &'static str = "UITableViewDropPlaceholderContext"

The name of the Objective-C protocol that this type represents. Read more
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 UITableViewDropPlaceholderContext

Implementations on Foreign Types§

Source§

impl<T> UITableViewDropPlaceholderContext for ProtocolObject<T>

Implementors§