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§
fn pasteConfiguration(&self) -> Option<Retained<UIPasteConfiguration>>
Available on crate feature
UIPasteConfiguration only.Sourcefn setPasteConfiguration(
&self,
paste_configuration: Option<&UIPasteConfiguration>,
)
Available on crate feature UIPasteConfiguration only.
fn setPasteConfiguration( &self, paste_configuration: Option<&UIPasteConfiguration>, )
UIPasteConfiguration only.Setter for pasteConfiguration.
This is copied when set.
fn pasteItemProviders(&self, item_providers: &NSArray<NSItemProvider>)
fn canPasteItemProviders( &self, item_providers: &NSArray<NSItemProvider>, ) -> bool
Trait Implementations§
Source§impl ProtocolType for dyn UIPasteConfigurationSupporting
impl ProtocolType for dyn UIPasteConfigurationSupporting
impl<T> ImplementedBy<T> for dyn UIPasteConfigurationSupporting
Implementations on Foreign Types§
impl<T> UIPasteConfigurationSupporting for ProtocolObject<T>where
T: ?Sized + UIPasteConfigurationSupporting,
Implementors§
impl UIPasteConfigurationSupporting for UIResponder
Available on crate feature
UIResponder only.impl UIPasteConfigurationSupporting for UITextField
Available on crate features
UIResponder and UIView and UIControl and UITextField only.impl UIPasteConfigurationSupporting for UITextView
Available on crate features
UIResponder and UIView and UIScrollView and UITextView only.