Trait UITextPasteConfigurationSupporting

Source
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§

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.

This is a weak property. Setter for pasteDelegate.

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. Read more
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 feature UITextField only.
Source§

impl UITextPasteConfigurationSupporting for UITextView

Available on crate feature UITextView only.