Skip to main content

UITableViewDataSourcePrefetching

Trait UITableViewDataSourcePrefetching 

Source
pub unsafe trait UITableViewDataSourcePrefetching: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn tableView_prefetchRowsAtIndexPaths(
        &self,
        table_view: &UITableView,
        index_paths: &NSArray<NSIndexPath>,
    )
       where Self: Sized + Message { ... }
    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

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

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<T> ImplementedBy<T> for dyn UITableViewDataSourcePrefetching

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UITableViewDataSourcePrefetching for ProtocolObject<T>

Implementors§