UITextDroppable

Trait UITextDroppable 

Source
pub unsafe trait UITextDroppable:
    UITextInput
    + UITextPasteConfigurationSupporting
    + MainThreadOnly {
    // Provided methods
    unsafe fn textDropDelegate(
        &self,
    ) -> Option<Retained<ProtocolObject<dyn UITextDropDelegate>>>
       where Self: Sized + Message { ... }
    unsafe fn setTextDropDelegate(
        &self,
        text_drop_delegate: Option<&ProtocolObject<dyn UITextDropDelegate>>,
    )
       where Self: Sized + Message { ... }
    unsafe fn textDropInteraction(&self) -> Option<Retained<UIDropInteraction>>
       where Self: Sized + Message { ... }
    unsafe fn isTextDropActive(&self) -> bool
       where Self: Sized + Message { ... }
}
Available on crate features UIPasteConfigurationSupporting and UITextDropping and UITextInput and UITextInputTraits and UITextPasteConfigurationSupporting only.
Expand description

Provided Methods§

Source

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

Source

unsafe fn setTextDropDelegate( &self, text_drop_delegate: Option<&ProtocolObject<dyn UITextDropDelegate>>, )
where Self: Sized + Message,

This is a weak property. Setter for textDropDelegate.

Source

unsafe fn textDropInteraction(&self) -> Option<Retained<UIDropInteraction>>
where Self: Sized + Message,

Available on crate feature UIDropInteraction only.
Source

unsafe fn isTextDropActive(&self) -> bool
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn UITextDroppable

Source§

const NAME: &'static str = "UITextDroppable"

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 UITextDroppable

Implementations on Foreign Types§

Source§

impl<T> UITextDroppable for ProtocolObject<T>
where T: ?Sized + UITextDroppable,

Implementors§

Source§

impl UITextDroppable for UITextField

Available on crate feature UITextField only.
Source§

impl UITextDroppable for UITextView

Available on crate feature UITextView only.