Trait UITableViewDataSourcePrefetching

Source
pub unsafe trait UITableViewDataSourcePrefetching: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn tableView_prefetchRowsAtIndexPaths(
        &self,
        table_view: &UITableView,
        index_paths: &NSArray<NSIndexPath>,
    )
       where Self: Sized + Message { ... }
    unsafe fn tableView_cancelPrefetchingForRowsAtIndexPaths(
        &self,
        table_view: &UITableView,
        index_paths: &NSArray<NSIndexPath>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UITableView only.
Expand description

Provided Methods§

Source

unsafe fn tableView_prefetchRowsAtIndexPaths( &self, table_view: &UITableView, index_paths: &NSArray<NSIndexPath>, )
where Self: Sized + Message,

Available on crate features UIResponder and UIScrollView and UIView only.
Source

unsafe fn tableView_cancelPrefetchingForRowsAtIndexPaths( &self, table_view: &UITableView, index_paths: &NSArray<NSIndexPath>, )
where Self: Sized + Message,

Available on crate features UIResponder and UIScrollView and UIView only.

Trait Implementations§

Source§

impl ProtocolType for dyn UITableViewDataSourcePrefetching

Source§

const NAME: &'static str = "UITableViewDataSourcePrefetching"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UITableViewDataSourcePrefetching

Implementations on Foreign Types§

Source§

impl<T> UITableViewDataSourcePrefetching for ProtocolObject<T>

Implementors§