pub unsafe trait NSCollectionLayoutEnvironment: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn container(
&self
) -> Retained<ProtocolObject<dyn NSCollectionLayoutContainer>>
where Self: Sized + Message { ... }
unsafe fn traitCollection(&self) -> Retained<UITraitCollection>
where Self: Sized + Message { ... }
}
Available on crate feature
UICollectionViewCompositionalLayout
only.Provided Methods§
unsafe fn container( &self ) -> Retained<ProtocolObject<dyn NSCollectionLayoutContainer>>
unsafe fn traitCollection(&self) -> Retained<UITraitCollection>
Available on crate feature
UITraitCollection
only.