Trait UITableViewDropItem

Source
pub unsafe trait UITableViewDropItem: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn dragItem(&self) -> Retained<UIDragItem>
       where Self: Sized + Message { ... }
    unsafe fn sourceIndexPath(&self) -> Option<Retained<NSIndexPath>>
       where Self: Sized + Message { ... }
    unsafe fn previewSize(&self) -> CGSize
       where Self: Sized + Message { ... }
}
Available on crate feature 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 sourceIndexPath(&self) -> Option<Retained<NSIndexPath>>
where Self: Sized + Message,

Source

unsafe fn previewSize(&self) -> CGSize
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Trait Implementations§

Source§

impl ProtocolType for dyn UITableViewDropItem

Source§

const NAME: &'static str = "UITableViewDropItem"

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 UITableViewDropItem

Implementations on Foreign Types§

Source§

impl<T> UITableViewDropItem for ProtocolObject<T>

Implementors§