NSIndexPathNSCollectionViewAdditions

Trait NSIndexPathNSCollectionViewAdditions 

Source
pub unsafe trait NSIndexPathNSCollectionViewAdditions:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    fn indexPathForItem_inSection(
        item: NSInteger,
        section: NSInteger,
    ) -> Retained<NSIndexPath> { ... }
    fn item(&self) -> NSInteger { ... }
    fn section(&self) -> NSInteger { ... }
}
Available on crate feature NSCollectionView only.
Expand description

Category “NSCollectionViewAdditions” on NSIndexPath.

Provided Methods§

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 NSIndexPathNSCollectionViewAdditions for NSIndexPath

Implementors§