pub unsafe trait UITextPasteConfigurationSupporting: UIPasteConfigurationSupporting + MainThreadOnly {
// Provided methods
unsafe fn pasteDelegate(
&self,
) -> Option<Retained<ProtocolObject<dyn UITextPasteDelegate>>>
where Self: Sized + Message { ... }
unsafe 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§
unsafe fn pasteDelegate( &self, ) -> Option<Retained<ProtocolObject<dyn UITextPasteDelegate>>>
Available on crate feature
UITextPasteDelegate only.Sourceunsafe fn setPasteDelegate(
&self,
paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>>,
)
Available on crate feature UITextPasteDelegate only.
unsafe fn setPasteDelegate( &self, paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>>, )
UITextPasteDelegate only.This is a weak property.
Setter for pasteDelegate.
Trait Implementations§
Source§impl ProtocolType for dyn UITextPasteConfigurationSupporting
impl ProtocolType for dyn UITextPasteConfigurationSupporting
impl<T> ImplementedBy<T> for dyn UITextPasteConfigurationSupporting
Implementations on Foreign Types§
impl<T> UITextPasteConfigurationSupporting for ProtocolObject<T>where
T: ?Sized + UITextPasteConfigurationSupporting,
Implementors§
impl UITextPasteConfigurationSupporting for UITextField
Available on crate features
UIControl and UIResponder and UIView and UITextField only.impl UITextPasteConfigurationSupporting for UITextView
Available on crate features
UIResponder and UIScrollView and UIView and UITextView only.