Skip to main content

UITableViewDropItem

Trait UITableViewDropItem 

Source
pub unsafe trait UITableViewDropItem: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn dragItem(&self) -> Retained<UIDragItem>
       where Self: Sized + Message { ... }
    fn sourceIndexPath(&self) -> Option<Retained<NSIndexPath>>
       where Self: Sized + Message { ... }
    fn previewSize(&self) -> CGSize
       where Self: Sized + Message { ... }
}
Available on crate feature UITableView only.
Expand description

Provided Methods§

Source

fn dragItem(&self) -> Retained<UIDragItem>
where Self: Sized + Message,

Available on crate feature UIDragItem only.
Source

fn sourceIndexPath(&self) -> Option<Retained<NSIndexPath>>
where Self: Sized + Message,

Source

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

Available on crate feature objc2-core-foundation only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UITableViewDropItem

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UITableViewDropItem for ProtocolObject<T>

Implementors§