pub unsafe trait UICollectionViewDataSourcePrefetching: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn collectionView_prefetchItemsAtIndexPaths(
&self,
collection_view: &UICollectionView,
index_paths: &NSArray<NSIndexPath>
)
where Self: Sized + Message { ... }
unsafe fn collectionView_cancelPrefetchingForItemsAtIndexPaths(
&self,
collection_view: &UICollectionView,
index_paths: &NSArray<NSIndexPath>
)
where Self: Sized + Message { ... }
}
Available on crate feature
UICollectionView
only.Provided Methods§
unsafe fn collectionView_prefetchItemsAtIndexPaths( &self, collection_view: &UICollectionView, index_paths: &NSArray<NSIndexPath> )
Available on crate features
UIResponder
and UIScrollView
and UIView
only.unsafe fn collectionView_cancelPrefetchingForItemsAtIndexPaths( &self, collection_view: &UICollectionView, index_paths: &NSArray<NSIndexPath> )
Available on crate features
UIResponder
and UIScrollView
and UIView
only.