pub unsafe trait UITextPasteConfigurationSupporting: UIPasteConfigurationSupporting + IsMainThreadOnly {
// 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.Provided Methods§
unsafe fn pasteDelegate( &self ) -> Option<Retained<ProtocolObject<dyn UITextPasteDelegate>>>
Available on crate feature
UITextPasteDelegate
only.unsafe fn setPasteDelegate( &self, paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>> )
Available on crate feature
UITextPasteDelegate
only.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.