Trait objc2_app_kit::NSCollectionViewPrefetching

source ·
pub unsafe trait NSCollectionViewPrefetching: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn collectionView_prefetchItemsAtIndexPaths(
        &self,
        collection_view: &NSCollectionView,
        index_paths: &NSArray<NSIndexPath>
    )
       where Self: Sized + Message { ... }
    unsafe fn collectionView_cancelPrefetchingForItemsAtIndexPaths(
        &self,
        collection_view: &NSCollectionView,
        index_paths: &NSArray<NSIndexPath>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSCollectionView only.

Provided Methods§

source

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

Available on crate features NSResponder and NSView only.
source

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

Available on crate features NSResponder and NSView only.

Trait Implementations§

source§

impl ProtocolType for dyn NSCollectionViewPrefetching

source§

const NAME: &'static str = "NSCollectionViewPrefetching"

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 NSCollectionViewPrefetching

Implementations on Foreign Types§

source§

impl<T> NSCollectionViewPrefetching for ProtocolObject<T>

Implementors§