Trait UISheetPresentationControllerDetentResolutionContext

Source
pub unsafe trait UISheetPresentationControllerDetentResolutionContext: NSObjectProtocol + MainThreadOnly {
    // 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.
Expand description

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,

Available on crate feature objc2-core-foundation only.

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. Read more
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§