pub unsafe trait NSIndexPathUIKitAdditions:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn indexPathForRow_inSection(
row: NSInteger,
section: NSInteger,
) -> Retained<Self> { ... }
unsafe fn indexPathForItem_inSection(
item: NSInteger,
section: NSInteger,
) -> Retained<Self> { ... }
unsafe fn section(&self) -> NSInteger { ... }
unsafe fn row(&self) -> NSInteger { ... }
unsafe fn item(&self) -> NSInteger { ... }
}
Available on crate feature
NSIndexPath_UIKitAdditions
only.Expand description
Category “UIKitAdditions” on NSIndexPath
.
Provided Methods§
unsafe fn indexPathForRow_inSection( row: NSInteger, section: NSInteger, ) -> Retained<Self>
unsafe fn indexPathForItem_inSection( item: NSInteger, section: NSInteger, ) -> Retained<Self>
unsafe fn section(&self) -> NSInteger
unsafe fn row(&self) -> NSInteger
unsafe fn item(&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.