Skip to main content

UISheetPresentationControllerDetentResolutionContext

Trait UISheetPresentationControllerDetentResolutionContext 

Source
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§

Source

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

Available on crate feature UITraitCollection only.
Source

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

Available on crate feature objc2-core-foundation only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UISheetPresentationControllerDetentResolutionContext

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UISheetPresentationControllerDetentResolutionContext for ProtocolObject<T>

Implementors§