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§
fn indexPathForItem_inSection( item: NSInteger, section: NSInteger, ) -> Retained<NSIndexPath>
fn item(&self) -> NSInteger
fn section(&self) -> NSInteger
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.