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