pub unsafe trait UISheetPresentationControllerDetentResolutionContext: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn containerTraitCollection(&self) -> Retained<UITraitCollection>
       where Self: Sized + Message { ... }
    unsafe fn maximumDetentValue(&self) -> CGFloat
       where Self: Sized + Message { ... }
}
Available on crate feature UISheetPresentationController only.

Provided Methods§

source

unsafe fn containerTraitCollection(&self) -> Retained<UITraitCollection>
where Self: Sized + Message,

Available on crate feature UITraitCollection only.
source

unsafe fn maximumDetentValue(&self) -> CGFloat
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UISheetPresentationControllerDetentResolutionContext

source§

const NAME: &'static str = "UISheetPresentationControllerDetentResolutionContext"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn UISheetPresentationControllerDetentResolutionContext

Implementations on Foreign Types§

source§

impl<T> UISheetPresentationControllerDetentResolutionContext for ProtocolObject<T>

Implementors§