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§

source

unsafe fn pasteDelegate( &self ) -> Option<Retained<ProtocolObject<dyn UITextPasteDelegate>>>
where Self: Sized + Message,

Available on crate feature UITextPasteDelegate only.
source

unsafe fn setPasteDelegate( &self, paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>> )
where Self: Sized + Message,

Available on crate feature UITextPasteDelegate only.

Trait Implementations§

source§

impl ProtocolType for dyn UITextPasteConfigurationSupporting

source§

const NAME: &'static str = "UITextPasteConfigurationSupporting"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn UITextPasteConfigurationSupporting

Implementations on Foreign Types§

source§

impl<T> UITextPasteConfigurationSupporting for ProtocolObject<T>

Implementors§

source§

impl UITextPasteConfigurationSupporting for UITextField

Available on crate features UIControl and UIResponder and UIView and UITextField only.
source§

impl UITextPasteConfigurationSupporting for UITextView

Available on crate features UIResponder and UIScrollView and UIView and UITextView only.