Trait objc2_ui_kit::UICollectionViewDropItem

source ·
pub unsafe trait UICollectionViewDropItem: NSObjectProtocol + IsMainThreadOnly {
    // 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 UICollectionView only.

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,

Trait Implementations§

source§

impl ProtocolType for dyn UICollectionViewDropItem

source§

const NAME: &'static str = "UICollectionViewDropItem"

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

Implementations on Foreign Types§

source§

impl<T> UICollectionViewDropItem for ProtocolObject<T>

Implementors§