pub unsafe trait UIDataSourceTranslating: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn presentationSectionIndexForDataSourceSectionIndex(
&self,
data_source_section_index: NSInteger
) -> NSInteger
where Self: Sized + Message { ... }
unsafe fn dataSourceSectionIndexForPresentationSectionIndex(
&self,
presentation_section_index: NSInteger
) -> NSInteger
where Self: Sized + Message { ... }
unsafe fn presentationIndexPathForDataSourceIndexPath(
&self,
data_source_index_path: Option<&NSIndexPath>
) -> Option<Retained<NSIndexPath>>
where Self: Sized + Message { ... }
unsafe fn dataSourceIndexPathForPresentationIndexPath(
&self,
presentation_index_path: Option<&NSIndexPath>
) -> Option<Retained<NSIndexPath>>
where Self: Sized + Message { ... }
unsafe fn performUsingPresentationValues(
&self,
actions_to_translate: &Block<dyn Fn() + '_>
)
where Self: Sized + Message { ... }
}
Available on crate feature
UIDataSourceTranslating
only.Provided Methods§
unsafe fn presentationSectionIndexForDataSourceSectionIndex( &self, data_source_section_index: NSInteger ) -> NSInteger
unsafe fn dataSourceSectionIndexForPresentationSectionIndex( &self, presentation_section_index: NSInteger ) -> NSInteger
unsafe fn presentationIndexPathForDataSourceIndexPath( &self, data_source_index_path: Option<&NSIndexPath> ) -> Option<Retained<NSIndexPath>>
unsafe fn dataSourceIndexPathForPresentationIndexPath( &self, presentation_index_path: Option<&NSIndexPath> ) -> Option<Retained<NSIndexPath>>
unsafe fn performUsingPresentationValues( &self, actions_to_translate: &Block<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 features
UIResponder
and UIScrollView
and UIView
and UICollectionView
only.impl UIDataSourceTranslating for UITableView
Available on crate features
UIResponder
and UIScrollView
and UIView
and UITableView
only.