UIItemProviderPresentationSizeProviding

Trait UIItemProviderPresentationSizeProviding 

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

Provided Methods§

Source

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

Available on crate feature objc2-core-foundation only.

Trait Implementations§

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

impl<T> ImplementedBy<T> for dyn UIItemProviderPresentationSizeProviding

Implementations on Foreign Types§

Source§

impl<T> UIItemProviderPresentationSizeProviding for ProtocolObject<T>

Implementors§