pub unsafe trait NSSetNSCollectionViewAdditions: ClassType {
// Provided methods
unsafe fn setWithCollectionViewIndexPath(
index_path: &NSIndexPath
) -> Retained<Self>
where Self: Sized + ClassType { ... }
unsafe fn setWithCollectionViewIndexPaths(
index_paths: &NSArray<NSIndexPath>
) -> Retained<Self>
where Self: Sized + ClassType { ... }
unsafe fn enumerateIndexPathsWithOptions_usingBlock(
&self,
opts: NSEnumerationOptions,
block: &Block<dyn Fn(NonNull<NSIndexPath>, NonNull<Bool>) + '_>
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSCollectionView
only.Expand description
Category “NSCollectionViewAdditions” on NSSet
.
Provided Methods§
unsafe fn setWithCollectionViewIndexPath( index_path: &NSIndexPath ) -> Retained<Self>
unsafe fn setWithCollectionViewIndexPaths( index_paths: &NSArray<NSIndexPath> ) -> Retained<Self>
unsafe fn enumerateIndexPathsWithOptions_usingBlock( &self, opts: NSEnumerationOptions, block: &Block<dyn Fn(NonNull<NSIndexPath>, NonNull<Bool>) + '_> )
Available on crate feature
block2
only.Object Safety§
This trait is not object safe.