UIPasteConfigurationSupporting

Trait UIPasteConfigurationSupporting 

Source
pub unsafe trait UIPasteConfigurationSupporting: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn pasteConfiguration(&self) -> Option<Retained<UIPasteConfiguration>>
       where Self: Sized + Message { ... }
    fn setPasteConfiguration(
        &self,
        paste_configuration: Option<&UIPasteConfiguration>,
    )
       where Self: Sized + Message { ... }
    fn pasteItemProviders(&self, item_providers: &NSArray<NSItemProvider>)
       where Self: Sized + Message { ... }
    fn canPasteItemProviders(
        &self,
        item_providers: &NSArray<NSItemProvider>,
    ) -> bool
       where Self: Sized + Message { ... }
}
Available on crate feature UIPasteConfigurationSupporting only.
Expand description

Provided Methods§

Source

fn pasteConfiguration(&self) -> Option<Retained<UIPasteConfiguration>>
where Self: Sized + Message,

Available on crate feature UIPasteConfiguration only.
Source

fn setPasteConfiguration( &self, paste_configuration: Option<&UIPasteConfiguration>, )
where Self: Sized + Message,

Available on crate feature UIPasteConfiguration only.

Setter for pasteConfiguration.

This is copied when set.

Source

fn pasteItemProviders(&self, item_providers: &NSArray<NSItemProvider>)
where Self: Sized + Message,

Source

fn canPasteItemProviders( &self, item_providers: &NSArray<NSItemProvider>, ) -> bool
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn UIPasteConfigurationSupporting

Source§

const NAME: &'static str = "UIPasteConfigurationSupporting"

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 UIPasteConfigurationSupporting

Implementations on Foreign Types§

Source§

impl<T> UIPasteConfigurationSupporting for ProtocolObject<T>

Implementors§

Source§

impl UIPasteConfigurationSupporting for UIResponder

Available on crate feature UIResponder only.
Source§

impl UIPasteConfigurationSupporting for UITextField

Available on crate features UIResponder and UIView and UIControl and UITextField only.
Source§

impl UIPasteConfigurationSupporting for UITextView

Available on crate features UIResponder and UIView and UIScrollView and UITextView only.