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

Category “NSCollectionViewAdditions” on NSIndexPath.

Provided Methods§

source

unsafe fn indexPathForItem_inSection( item: NSInteger, section: NSInteger ) -> Id<NSIndexPath>
where Self: Sized + ClassType,

source

unsafe fn item(&self) -> NSInteger
where Self: Sized + Message,

source

unsafe fn section(&self) -> NSInteger
where Self: Sized + Message,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSIndexPathNSCollectionViewAdditions for NSIndexPath

Implementors§