pub unsafe trait UIDataSourceTranslating: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn presentationSectionIndexForDataSourceSectionIndex(
&self,
data_source_section_index: NSInteger,
) -> NSInteger
where Self: Sized + Message { ... }
fn dataSourceSectionIndexForPresentationSectionIndex(
&self,
presentation_section_index: NSInteger,
) -> NSInteger
where Self: Sized + Message { ... }
fn presentationIndexPathForDataSourceIndexPath(
&self,
data_source_index_path: Option<&NSIndexPath>,
) -> Option<Retained<NSIndexPath>>
where Self: Sized + Message { ... }
fn dataSourceIndexPathForPresentationIndexPath(
&self,
presentation_index_path: Option<&NSIndexPath>,
) -> Option<Retained<NSIndexPath>>
where Self: Sized + Message { ... }
fn performUsingPresentationValues(
&self,
actions_to_translate: &DynBlock<dyn Fn() + '_>,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIDataSourceTranslating only.Expand description
Provided Methods§
fn presentationSectionIndexForDataSourceSectionIndex( &self, data_source_section_index: NSInteger, ) -> NSInteger
fn dataSourceSectionIndexForPresentationSectionIndex( &self, presentation_section_index: NSInteger, ) -> NSInteger
fn presentationIndexPathForDataSourceIndexPath( &self, data_source_index_path: Option<&NSIndexPath>, ) -> Option<Retained<NSIndexPath>>
fn dataSourceIndexPathForPresentationIndexPath( &self, presentation_index_path: Option<&NSIndexPath>, ) -> Option<Retained<NSIndexPath>>
fn performUsingPresentationValues( &self, actions_to_translate: &DynBlock<dyn Fn() + '_>, )
Available on crate feature
block2 only.Trait Implementations§
Source§impl ProtocolType for dyn UIDataSourceTranslating
impl ProtocolType for dyn UIDataSourceTranslating
impl<T> ImplementedBy<T> for dyn UIDataSourceTranslating
Implementations on Foreign Types§
impl<T> UIDataSourceTranslating for ProtocolObject<T>where
T: ?Sized + UIDataSourceTranslating,
Implementors§
impl UIDataSourceTranslating for UICollectionView
Available on crate feature
UICollectionView only.impl UIDataSourceTranslating for UITableView
Available on crate feature
UITableView only.