Skip to main content

UIActivityItemsConfigurationReading

Trait UIActivityItemsConfigurationReading 

Source
pub unsafe trait UIActivityItemsConfigurationReading: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn itemProvidersForActivityItemsConfiguration(
        &self,
    ) -> Retained<NSArray<NSItemProvider>>
       where Self: Sized + Message { ... }
    fn activityItemsConfigurationSupportsInteraction(
        &self,
        interaction: &UIActivityItemsConfigurationInteraction,
    ) -> bool
       where Self: Sized + Message { ... }
    fn activityItemsConfigurationMetadataForKey(
        &self,
        key: &UIActivityItemsConfigurationMetadataKey,
    ) -> Option<Retained<AnyObject>>
       where Self: Sized + Message { ... }
    fn activityItemsConfigurationMetadataForItemAtIndex_key(
        &self,
        index: NSInteger,
        key: &UIActivityItemsConfigurationMetadataKey,
    ) -> Option<Retained<AnyObject>>
       where Self: Sized + Message { ... }
    fn activityItemsConfigurationPreviewForItemAtIndex_intent_suggestedSize(
        &self,
        index: NSInteger,
        intent: &UIActivityItemsConfigurationPreviewIntent,
        suggested_size: CGSize,
    ) -> Option<Retained<NSItemProvider>>
       where Self: Sized + Message { ... }
    fn applicationActivitiesForActivityItemsConfiguration(
        &self,
    ) -> Option<Retained<NSArray<UIActivity>>>
       where Self: Sized + Message { ... }
}
Available on crate feature UIActivityItemsConfigurationReading only.
Expand description

Provided Methods§

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIActivityItemsConfigurationReading

Source§

impl ProtocolType for dyn UIActivityItemsConfigurationReading

Source§

const NAME: &'static str = "UIActivityItemsConfigurationReading"

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

Implementors§

Source§

impl UIActivityItemsConfigurationReading for UIActivityItemsConfiguration

Available on crate feature UIActivityItemsConfiguration only.