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§

source

unsafe fn setWithCollectionViewIndexPath( index_path: &NSIndexPath ) -> Retained<Self>
where Self: Sized + ClassType,

source

unsafe fn setWithCollectionViewIndexPaths( index_paths: &NSArray<NSIndexPath> ) -> Retained<Self>
where Self: Sized + ClassType,

source

unsafe fn enumerateIndexPathsWithOptions_usingBlock( &self, opts: NSEnumerationOptions, block: &Block<dyn Fn(NonNull<NSIndexPath>, NonNull<Bool>) + '_> )
where Self: Sized + Message,

Available on crate feature block2 only.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSSetNSCollectionViewAdditions for NSSet

Implementors§