pub unsafe trait UICollectionViewDropDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn collectionView_performDropWithCoordinator(
&self,
collection_view: &UICollectionView,
coordinator: &ProtocolObject<dyn UICollectionViewDropCoordinator>
)
where Self: Sized + Message { ... }
unsafe fn collectionView_canHandleDropSession(
&self,
collection_view: &UICollectionView,
session: &ProtocolObject<dyn UIDropSession>
) -> bool
where Self: Sized + Message { ... }
unsafe fn collectionView_dropSessionDidEnter(
&self,
collection_view: &UICollectionView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn collectionView_dropSessionDidUpdate_withDestinationIndexPath(
&self,
collection_view: &UICollectionView,
session: &ProtocolObject<dyn UIDropSession>,
destination_index_path: Option<&NSIndexPath>
) -> Retained<UICollectionViewDropProposal>
where Self: Sized + Message { ... }
unsafe fn collectionView_dropSessionDidExit(
&self,
collection_view: &UICollectionView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn collectionView_dropSessionDidEnd(
&self,
collection_view: &UICollectionView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn collectionView_dropPreviewParametersForItemAtIndexPath(
&self,
collection_view: &UICollectionView,
index_path: &NSIndexPath
) -> Option<Retained<UIDragPreviewParameters>>
where Self: Sized + Message { ... }
}Available on crate feature
UICollectionView only.Provided Methods§
unsafe fn collectionView_performDropWithCoordinator( &self, collection_view: &UICollectionView, coordinator: &ProtocolObject<dyn UICollectionViewDropCoordinator> )
Available on crate features
UIResponder and UIScrollView and UIView only.unsafe fn collectionView_canHandleDropSession( &self, collection_view: &UICollectionView, session: &ProtocolObject<dyn UIDropSession> ) -> bool
Available on crate features
UIDragSession and UIResponder and UIScrollView and UIView only.unsafe fn collectionView_dropSessionDidEnter( &self, collection_view: &UICollectionView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession and UIResponder and UIScrollView and UIView only.unsafe fn collectionView_dropSessionDidUpdate_withDestinationIndexPath( &self, collection_view: &UICollectionView, session: &ProtocolObject<dyn UIDropSession>, destination_index_path: Option<&NSIndexPath> ) -> Retained<UICollectionViewDropProposal>
Available on crate features
UIDragSession and UIDropInteraction and UIResponder and UIScrollView and UIView only.unsafe fn collectionView_dropSessionDidExit( &self, collection_view: &UICollectionView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession and UIResponder and UIScrollView and UIView only.unsafe fn collectionView_dropSessionDidEnd( &self, collection_view: &UICollectionView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession and UIResponder and UIScrollView and UIView only.unsafe fn collectionView_dropPreviewParametersForItemAtIndexPath( &self, collection_view: &UICollectionView, index_path: &NSIndexPath ) -> Option<Retained<UIDragPreviewParameters>>
Available on crate features
UIDragPreviewParameters and UIPreviewParameters and UIResponder and UIScrollView and UIView only.