pub unsafe trait NSCollectionLayoutContainer: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn contentSize(&self) -> CGSize
where Self: Sized + Message { ... }
fn effectiveContentSize(&self) -> CGSize
where Self: Sized + Message { ... }
fn contentInsets(&self) -> NSDirectionalEdgeInsets
where Self: Sized + Message { ... }
fn effectiveContentInsets(&self) -> NSDirectionalEdgeInsets
where Self: Sized + Message { ... }
}Available on crate feature
UICollectionViewCompositionalLayout only.Expand description
Provided Methods§
fn contentSize(&self) -> CGSize
Available on crate feature
objc2-core-foundation only.fn effectiveContentSize(&self) -> CGSize
Available on crate feature
objc2-core-foundation only.fn contentInsets(&self) -> NSDirectionalEdgeInsets
Available on crate features
objc2-core-foundation and UIGeometry only.fn effectiveContentInsets(&self) -> NSDirectionalEdgeInsets
Available on crate features
objc2-core-foundation and UIGeometry only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSCollectionLayoutContainer
Source§impl ProtocolType for dyn NSCollectionLayoutContainer
impl ProtocolType for dyn NSCollectionLayoutContainer
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".