NSSetNSCollectionViewAdditions

Trait NSSetNSCollectionViewAdditions 

Source
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§

Source

fn setWithCollectionViewIndexPath(index_path: &NSIndexPath) -> Retained<Self>

Source

fn setWithCollectionViewIndexPaths( index_paths: &NSArray<NSIndexPath>, ) -> Retained<Self>

Source

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", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl NSSetNSCollectionViewAdditions for NSSet

Implementors§