pub unsafe trait NSCollectionLayoutContainer: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn contentSize(&self) -> CGSize
where Self: Sized + Message { ... }
unsafe fn effectiveContentSize(&self) -> CGSize
where Self: Sized + Message { ... }
unsafe fn contentInsets(&self) -> NSDirectionalEdgeInsets
where Self: Sized + Message { ... }
unsafe fn effectiveContentInsets(&self) -> NSDirectionalEdgeInsets
where Self: Sized + Message { ... }
}
Available on crate feature
UICollectionViewCompositionalLayout
only.Expand description
Provided Methods§
unsafe fn contentSize(&self) -> CGSize
Available on crate feature
objc2-core-foundation
only.unsafe fn effectiveContentSize(&self) -> CGSize
Available on crate feature
objc2-core-foundation
only.unsafe fn contentInsets(&self) -> NSDirectionalEdgeInsets
Available on crate features
UIGeometry
and objc2-core-foundation
only.unsafe fn effectiveContentInsets(&self) -> NSDirectionalEdgeInsets
Available on crate features
UIGeometry
and objc2-core-foundation
only.