pub unsafe trait UICollectionViewDropCoordinator: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn items(
        &self
    ) -> Retained<NSArray<ProtocolObject<dyn UICollectionViewDropItem>>>
       where Self: Sized + Message { ... }
    unsafe fn destinationIndexPath(&self) -> Option<Retained<NSIndexPath>>
       where Self: Sized + Message { ... }
    unsafe fn proposal(&self) -> Retained<UICollectionViewDropProposal>
       where Self: Sized + Message { ... }
    unsafe fn session(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
       where Self: Sized + Message { ... }
    unsafe fn dropItem_toPlaceholder(
        &self,
        drag_item: &UIDragItem,
        placeholder: &UICollectionViewDropPlaceholder
    ) -> Retained<ProtocolObject<dyn UICollectionViewDropPlaceholderContext>>
       where Self: Sized + Message { ... }
    unsafe fn dropItem_toItemAtIndexPath(
        &self,
        drag_item: &UIDragItem,
        index_path: &NSIndexPath
    ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
       where Self: Sized + Message { ... }
    unsafe fn dropItem_intoItemAtIndexPath_rect(
        &self,
        drag_item: &UIDragItem,
        index_path: &NSIndexPath,
        rect: CGRect
    ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
       where Self: Sized + Message { ... }
    unsafe fn dropItem_toTarget(
        &self,
        drag_item: &UIDragItem,
        target: &UIDragPreviewTarget
    ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
       where Self: Sized + Message { ... }
}
Available on crate feature UICollectionView only.

Provided Methods§

source

unsafe fn items( &self ) -> Retained<NSArray<ProtocolObject<dyn UICollectionViewDropItem>>>
where Self: Sized + Message,

source

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

source

unsafe fn proposal(&self) -> Retained<UICollectionViewDropProposal>
where Self: Sized + Message,

Available on crate feature UIDropInteraction only.
source

unsafe fn session(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
where Self: Sized + Message,

Available on crate feature UIDragSession only.
source

unsafe fn dropItem_toPlaceholder( &self, drag_item: &UIDragItem, placeholder: &UICollectionViewDropPlaceholder ) -> Retained<ProtocolObject<dyn UICollectionViewDropPlaceholderContext>>
where Self: Sized + Message,

Available on crate features UIDragInteraction and UIDragItem only.
source

unsafe fn dropItem_toItemAtIndexPath( &self, drag_item: &UIDragItem, index_path: &NSIndexPath ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
where Self: Sized + Message,

Available on crate features UIDragInteraction and UIDragItem only.
source

unsafe fn dropItem_intoItemAtIndexPath_rect( &self, drag_item: &UIDragItem, index_path: &NSIndexPath, rect: CGRect ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
where Self: Sized + Message,

Available on crate features UIDragInteraction and UIDragItem only.
source

unsafe fn dropItem_toTarget( &self, drag_item: &UIDragItem, target: &UIDragPreviewTarget ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
where Self: Sized + Message,

Available on crate features UIDragInteraction and UIDragItem and UITargetedDragPreview and UITargetedPreview only.

Trait Implementations§

source§

impl ProtocolType for dyn UICollectionViewDropCoordinator

source§

const NAME: &'static str = "UICollectionViewDropCoordinator"

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 UICollectionViewDropCoordinator

Implementations on Foreign Types§

source§

impl<T> UICollectionViewDropCoordinator for ProtocolObject<T>

Implementors§