pub unsafe trait UICollectionViewDelegateFlowLayout: UICollectionViewDelegate + IsMainThreadOnly {
    // Provided methods
    unsafe fn collectionView_layout_sizeForItemAtIndexPath(
        &self,
        collection_view: &UICollectionView,
        collection_view_layout: &UICollectionViewLayout,
        index_path: &NSIndexPath
    ) -> CGSize
       where Self: Sized + Message { ... }
    unsafe fn collectionView_layout_insetForSectionAtIndex(
        &self,
        collection_view: &UICollectionView,
        collection_view_layout: &UICollectionViewLayout,
        section: NSInteger
    ) -> UIEdgeInsets
       where Self: Sized + Message { ... }
    unsafe fn collectionView_layout_minimumLineSpacingForSectionAtIndex(
        &self,
        collection_view: &UICollectionView,
        collection_view_layout: &UICollectionViewLayout,
        section: NSInteger
    ) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn collectionView_layout_minimumInteritemSpacingForSectionAtIndex(
        &self,
        collection_view: &UICollectionView,
        collection_view_layout: &UICollectionViewLayout,
        section: NSInteger
    ) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn collectionView_layout_referenceSizeForHeaderInSection(
        &self,
        collection_view: &UICollectionView,
        collection_view_layout: &UICollectionViewLayout,
        section: NSInteger
    ) -> CGSize
       where Self: Sized + Message { ... }
    unsafe fn collectionView_layout_referenceSizeForFooterInSection(
        &self,
        collection_view: &UICollectionView,
        collection_view_layout: &UICollectionViewLayout,
        section: NSInteger
    ) -> CGSize
       where Self: Sized + Message { ... }
}
Available on crate features UICollectionView and UICollectionViewFlowLayout and UIScrollView only.

Provided Methods§

source

unsafe fn collectionView_layout_sizeForItemAtIndexPath( &self, collection_view: &UICollectionView, collection_view_layout: &UICollectionViewLayout, index_path: &NSIndexPath ) -> CGSize
where Self: Sized + Message,

Available on crate features UICollectionViewLayout and UIResponder and UIView only.
source

unsafe fn collectionView_layout_insetForSectionAtIndex( &self, collection_view: &UICollectionView, collection_view_layout: &UICollectionViewLayout, section: NSInteger ) -> UIEdgeInsets
where Self: Sized + Message,

Available on crate features UICollectionViewLayout and UIGeometry and UIResponder and UIView only.
source

unsafe fn collectionView_layout_minimumLineSpacingForSectionAtIndex( &self, collection_view: &UICollectionView, collection_view_layout: &UICollectionViewLayout, section: NSInteger ) -> CGFloat
where Self: Sized + Message,

Available on crate features UICollectionViewLayout and UIResponder and UIView only.
source

unsafe fn collectionView_layout_minimumInteritemSpacingForSectionAtIndex( &self, collection_view: &UICollectionView, collection_view_layout: &UICollectionViewLayout, section: NSInteger ) -> CGFloat
where Self: Sized + Message,

Available on crate features UICollectionViewLayout and UIResponder and UIView only.
source

unsafe fn collectionView_layout_referenceSizeForHeaderInSection( &self, collection_view: &UICollectionView, collection_view_layout: &UICollectionViewLayout, section: NSInteger ) -> CGSize
where Self: Sized + Message,

Available on crate features UICollectionViewLayout and UIResponder and UIView only.
source

unsafe fn collectionView_layout_referenceSizeForFooterInSection( &self, collection_view: &UICollectionView, collection_view_layout: &UICollectionViewLayout, section: NSInteger ) -> CGSize
where Self: Sized + Message,

Available on crate features UICollectionViewLayout and UIResponder and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UICollectionViewDelegateFlowLayout

source§

const NAME: &'static str = "UICollectionViewDelegateFlowLayout"

The name of the Objective-C protocol that this type represents.
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 UICollectionViewDelegateFlowLayout

Implementations on Foreign Types§

source§

impl<T> UICollectionViewDelegateFlowLayout for ProtocolObject<T>

Implementors§