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