pub unsafe trait UISheetPresentationControllerDetentResolutionContext: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn containerTraitCollection(&self) -> Retained<UITraitCollection>
where Self: Sized + Message { ... }
fn maximumDetentValue(&self) -> CGFloat
where Self: Sized + Message { ... }
}Available on crate feature
UISheetPresentationController only.Expand description
Provided Methods§
fn containerTraitCollection(&self) -> Retained<UITraitCollection>
Available on crate feature
UITraitCollection only.fn maximumDetentValue(&self) -> CGFloat
Available on crate feature
objc2-core-foundation only.Trait Implementations§
Source§impl ProtocolType for dyn UISheetPresentationControllerDetentResolutionContext
impl ProtocolType for dyn UISheetPresentationControllerDetentResolutionContext
impl<T> ImplementedBy<T> for dyn UISheetPresentationControllerDetentResolutionContext
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".