pub unsafe trait NSCollectionViewDelegateFlowLayout: NSCollectionViewDelegate + IsMainThreadOnly {
// Provided methods
unsafe fn collectionView_layout_sizeForItemAtIndexPath(
&self,
collection_view: &NSCollectionView,
collection_view_layout: &NSCollectionViewLayout,
index_path: &NSIndexPath
) -> NSSize
where Self: Sized + Message { ... }
unsafe fn collectionView_layout_insetForSectionAtIndex(
&self,
collection_view: &NSCollectionView,
collection_view_layout: &NSCollectionViewLayout,
section: NSInteger
) -> NSEdgeInsets
where Self: Sized + Message { ... }
unsafe fn collectionView_layout_minimumLineSpacingForSectionAtIndex(
&self,
collection_view: &NSCollectionView,
collection_view_layout: &NSCollectionViewLayout,
section: NSInteger
) -> CGFloat
where Self: Sized + Message { ... }
unsafe fn collectionView_layout_minimumInteritemSpacingForSectionAtIndex(
&self,
collection_view: &NSCollectionView,
collection_view_layout: &NSCollectionViewLayout,
section: NSInteger
) -> CGFloat
where Self: Sized + Message { ... }
unsafe fn collectionView_layout_referenceSizeForHeaderInSection(
&self,
collection_view: &NSCollectionView,
collection_view_layout: &NSCollectionViewLayout,
section: NSInteger
) -> NSSize
where Self: Sized + Message { ... }
unsafe fn collectionView_layout_referenceSizeForFooterInSection(
&self,
collection_view: &NSCollectionView,
collection_view_layout: &NSCollectionViewLayout,
section: NSInteger
) -> NSSize
where Self: Sized + Message { ... }
}
Available on crate features
NSCollectionView
and NSCollectionViewFlowLayout
only.Provided Methods§
unsafe fn collectionView_layout_sizeForItemAtIndexPath( &self, collection_view: &NSCollectionView, collection_view_layout: &NSCollectionViewLayout, index_path: &NSIndexPath ) -> NSSize
Available on crate features
NSCollectionViewLayout
and NSResponder
and NSView
only.unsafe fn collectionView_layout_insetForSectionAtIndex( &self, collection_view: &NSCollectionView, collection_view_layout: &NSCollectionViewLayout, section: NSInteger ) -> NSEdgeInsets
Available on crate features
NSCollectionViewLayout
and NSResponder
and NSView
only.unsafe fn collectionView_layout_minimumLineSpacingForSectionAtIndex( &self, collection_view: &NSCollectionView, collection_view_layout: &NSCollectionViewLayout, section: NSInteger ) -> CGFloat
Available on crate features
NSCollectionViewLayout
and NSResponder
and NSView
only.unsafe fn collectionView_layout_minimumInteritemSpacingForSectionAtIndex( &self, collection_view: &NSCollectionView, collection_view_layout: &NSCollectionViewLayout, section: NSInteger ) -> CGFloat
Available on crate features
NSCollectionViewLayout
and NSResponder
and NSView
only.unsafe fn collectionView_layout_referenceSizeForHeaderInSection( &self, collection_view: &NSCollectionView, collection_view_layout: &NSCollectionViewLayout, section: NSInteger ) -> NSSize
Available on crate features
NSCollectionViewLayout
and NSResponder
and NSView
only.Available on crate features
NSCollectionViewLayout
and NSResponder
and NSView
only.