pub unsafe trait NSSetNSCollectionViewAdditions:
ClassType
+ Sized
+ Sealed {
// Provided methods
fn setWithCollectionViewIndexPath(
index_path: &NSIndexPath,
) -> Retained<Self> { ... }
fn setWithCollectionViewIndexPaths(
index_paths: &NSArray<NSIndexPath>,
) -> Retained<Self> { ... }
fn enumerateIndexPathsWithOptions_usingBlock(
&self,
opts: NSEnumerationOptions,
block: &DynBlock<dyn Fn(NonNull<NSIndexPath>, NonNull<Bool>) + '_>,
) { ... }
}Available on crate feature
NSCollectionView only.Expand description
Category “NSCollectionViewAdditions” on NSSet.
Provided Methods§
fn setWithCollectionViewIndexPath(index_path: &NSIndexPath) -> Retained<Self>
fn setWithCollectionViewIndexPaths( index_paths: &NSArray<NSIndexPath>, ) -> Retained<Self>
fn enumerateIndexPathsWithOptions_usingBlock( &self, opts: NSEnumerationOptions, block: &DynBlock<dyn Fn(NonNull<NSIndexPath>, NonNull<Bool>) + '_>, )
Available on crate feature
block2 only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".