Skip to main content

UITextPasteConfigurationSupporting

Trait UITextPasteConfigurationSupporting 

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

Source

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

Available on crate feature UITextPasteDelegate only.
Source

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

Available on crate feature UITextPasteDelegate only.

Setter for pasteDelegate.

This is a weak property.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UITextPasteConfigurationSupporting

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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.