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§

source

unsafe fn collectionView_prefetchItemsAtIndexPaths( &self, collection_view: &UICollectionView, index_paths: &NSArray<NSIndexPath> )
where Self: Sized + Message,

Available on crate features UIResponder and UIScrollView and UIView only.
source

unsafe fn collectionView_cancelPrefetchingForItemsAtIndexPaths( &self, collection_view: &UICollectionView, index_paths: &NSArray<NSIndexPath> )
where Self: Sized + Message,

Available on crate features UIResponder and UIScrollView and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UICollectionViewDataSourcePrefetching

source§

const NAME: &'static str = "UICollectionViewDataSourcePrefetching"

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 UICollectionViewDataSourcePrefetching

Implementations on Foreign Types§

source§

impl<T> UICollectionViewDataSourcePrefetching for ProtocolObject<T>

Implementors§