Trait NSIndexPathUIKitAdditions

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

Source

unsafe fn indexPathForRow_inSection( row: NSInteger, section: NSInteger, ) -> Retained<Self>

Source

unsafe fn indexPathForItem_inSection( item: NSInteger, section: NSInteger, ) -> Retained<Self>

Source

unsafe fn section(&self) -> NSInteger

Source

unsafe fn row(&self) -> NSInteger

Source

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.

Implementations on Foreign Types§

Source§

impl NSIndexPathUIKitAdditions for NSIndexPath

Implementors§