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