pub unsafe trait UICollectionViewDataSourcePrefetching: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn collectionView_prefetchItemsAtIndexPaths(
&self,
collection_view: &UICollectionView,
index_paths: &NSArray<NSIndexPath>,
)
where Self: Sized + Message { ... }
fn collectionView_cancelPrefetchingForItemsAtIndexPaths(
&self,
collection_view: &UICollectionView,
index_paths: &NSArray<NSIndexPath>,
)
where Self: Sized + Message { ... }
}Available on crate feature
UICollectionView only.Expand description
Provided Methods§
fn collectionView_prefetchItemsAtIndexPaths( &self, collection_view: &UICollectionView, index_paths: &NSArray<NSIndexPath>, )
Available on crate features
UIResponder and UIScrollView and UIView only.fn collectionView_cancelPrefetchingForItemsAtIndexPaths( &self, collection_view: &UICollectionView, index_paths: &NSArray<NSIndexPath>, )
Available on crate features
UIResponder and UIScrollView and UIView only.Trait Implementations§
Source§impl ProtocolType for dyn UICollectionViewDataSourcePrefetching
impl ProtocolType for dyn UICollectionViewDataSourcePrefetching
impl<T> ImplementedBy<T> for dyn UICollectionViewDataSourcePrefetching
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".