pub unsafe trait UITextPasteConfigurationSupporting: UIPasteConfigurationSupporting + MainThreadOnly {
// Provided methods
fn pasteDelegate(
&self,
) -> Option<Retained<ProtocolObject<dyn UITextPasteDelegate>>>
where Self: Sized + Message { ... }
fn setPasteDelegate(
&self,
paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>>,
)
where Self: Sized + Message { ... }
}Available on crate features
UIPasteConfigurationSupporting and UITextPasteConfigurationSupporting only.Expand description
Provided Methods§
fn pasteDelegate( &self, ) -> Option<Retained<ProtocolObject<dyn UITextPasteDelegate>>>
Available on crate feature
UITextPasteDelegate only.Sourcefn setPasteDelegate(
&self,
paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>>,
)
Available on crate feature UITextPasteDelegate only.
fn setPasteDelegate( &self, paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>>, )
UITextPasteDelegate only.Setter for pasteDelegate.
This is a weak property.
Trait Implementations§
impl<T> ImplementedBy<T> for dyn UITextPasteConfigurationSupporting
Source§impl ProtocolType for dyn UITextPasteConfigurationSupporting
impl ProtocolType for dyn UITextPasteConfigurationSupporting
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> UITextPasteConfigurationSupporting for ProtocolObject<T>where
T: ?Sized + UITextPasteConfigurationSupporting,
Implementors§
impl UITextPasteConfigurationSupporting for UITextField
Available on crate feature
UITextField only.impl UITextPasteConfigurationSupporting for UITextView
Available on crate feature
UITextView only.