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§
unsafe fn textDropDelegate( &self, ) -> Option<Retained<ProtocolObject<dyn UITextDropDelegate>>>
Sourceunsafe fn setTextDropDelegate(
&self,
text_drop_delegate: Option<&ProtocolObject<dyn UITextDropDelegate>>,
)
unsafe fn setTextDropDelegate( &self, text_drop_delegate: Option<&ProtocolObject<dyn UITextDropDelegate>>, )
This is a weak property.
Setter for textDropDelegate.
unsafe fn textDropInteraction(&self) -> Option<Retained<UIDropInteraction>>
Available on crate feature
UIDropInteraction only.unsafe fn isTextDropActive(&self) -> bool
Trait Implementations§
Source§impl ProtocolType for dyn UITextDroppable
impl ProtocolType for dyn UITextDroppable
impl<T> ImplementedBy<T> for dyn UITextDroppable
Implementations on Foreign Types§
impl<T> UITextDroppable for ProtocolObject<T>where
T: ?Sized + UITextDroppable,
Implementors§
impl UITextDroppable for UITextField
Available on crate features
UIControl and UIResponder and UIView and UITextField only.impl UITextDroppable for UITextView
Available on crate features
UIResponder and UIScrollView and UIView and UITextView only.