[][src]Trait uikit_sys::PUICollectionViewDelegateFlowLayout

pub trait PUICollectionViewDelegateFlowLayout: Sized + Deref {
    unsafe fn collectionView_layout_sizeForItemAtIndexPath_(
        self,
        collectionView: UICollectionView,
        collectionViewLayout: UICollectionViewLayout,
        indexPath: NSIndexPath
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_layout_insetForSectionAtIndex_(
        self,
        collectionView: UICollectionView,
        collectionViewLayout: UICollectionViewLayout,
        section: NSInteger
    ) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_layout_minimumLineSpacingForSectionAtIndex_(
        self,
        collectionView: UICollectionView,
        collectionViewLayout: UICollectionViewLayout,
        section: NSInteger
    ) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_layout_minimumInteritemSpacingForSectionAtIndex_(
        self,
        collectionView: UICollectionView,
        collectionViewLayout: UICollectionViewLayout,
        section: NSInteger
    ) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_layout_referenceSizeForHeaderInSection_(
        self,
        collectionView: UICollectionView,
        collectionViewLayout: UICollectionViewLayout,
        section: NSInteger
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collectionView_layout_referenceSizeForFooterInSection_(
        self,
        collectionView: UICollectionView,
        collectionViewLayout: UICollectionViewLayout,
        section: NSInteger
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn collectionView_layout_sizeForItemAtIndexPath_(
    self,
    collectionView: UICollectionView,
    collectionViewLayout: UICollectionViewLayout,
    indexPath: NSIndexPath
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn collectionView_layout_insetForSectionAtIndex_(
    self,
    collectionView: UICollectionView,
    collectionViewLayout: UICollectionViewLayout,
    section: NSInteger
) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn collectionView_layout_minimumLineSpacingForSectionAtIndex_(
    self,
    collectionView: UICollectionView,
    collectionViewLayout: UICollectionViewLayout,
    section: NSInteger
) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn collectionView_layout_minimumInteritemSpacingForSectionAtIndex_(
    self,
    collectionView: UICollectionView,
    collectionViewLayout: UICollectionViewLayout,
    section: NSInteger
) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn collectionView_layout_referenceSizeForHeaderInSection_(
    self,
    collectionView: UICollectionView,
    collectionViewLayout: UICollectionViewLayout,
    section: NSInteger
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn collectionView_layout_referenceSizeForFooterInSection_(
    self,
    collectionView: UICollectionView,
    collectionViewLayout: UICollectionViewLayout,
    section: NSInteger
) -> CGSize where
    Self::Target: Message + Sized

Loading content...

Implementors

Loading content...