Skip to main content

UIItemProviderPresentationSizeProviding

Trait UIItemProviderPresentationSizeProviding 

Source
pub unsafe trait UIItemProviderPresentationSizeProviding: NSObjectProtocol + MainThreadOnly {
    // Provided method
    fn preferredPresentationSizeForItemProvider(&self) -> CGSize
       where Self: Sized + Message { ... }
}
Available on crate feature NSItemProvider_UIKitAdditions only.
Expand description

Provided Methods§

Source

fn preferredPresentationSizeForItemProvider(&self) -> CGSize
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIItemProviderPresentationSizeProviding

Source§

impl ProtocolType for dyn UIItemProviderPresentationSizeProviding

Source§

const NAME: &'static str = "UIItemProviderPresentationSizeProviding"

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> UIItemProviderPresentationSizeProviding for ProtocolObject<T>

Implementors§