pub unsafe trait NSCollectionLayoutContainer: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn contentSize(&self) -> NSSize
where Self: Sized + Message { ... }
unsafe fn effectiveContentSize(&self) -> NSSize
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
NSCollectionViewCompositionalLayout
only.Expand description
Provided Methods§
unsafe fn contentSize(&self) -> NSSize
unsafe fn effectiveContentSize(&self) -> NSSize
unsafe fn contentInsets(&self) -> NSDirectionalEdgeInsets
Available on crate feature
objc2-core-foundation
only.unsafe fn effectiveContentInsets(&self) -> NSDirectionalEdgeInsets
Available on crate feature
objc2-core-foundation
only.