pub unsafe trait UITextDroppable:
UITextInput
+ UITextPasteConfigurationSupporting
+ MainThreadOnly {
// Provided methods
fn textDropDelegate(
&self,
) -> Option<Retained<ProtocolObject<dyn UITextDropDelegate>>>
where Self: Sized + Message { ... }
fn setTextDropDelegate(
&self,
text_drop_delegate: Option<&ProtocolObject<dyn UITextDropDelegate>>,
)
where Self: Sized + Message { ... }
fn textDropInteraction(&self) -> Option<Retained<UIDropInteraction>>
where Self: Sized + Message { ... }
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§
fn textDropDelegate( &self, ) -> Option<Retained<ProtocolObject<dyn UITextDropDelegate>>>
Sourcefn setTextDropDelegate(
&self,
text_drop_delegate: Option<&ProtocolObject<dyn UITextDropDelegate>>,
)
fn setTextDropDelegate( &self, text_drop_delegate: Option<&ProtocolObject<dyn UITextDropDelegate>>, )
Setter for textDropDelegate.
This is a weak property.
fn textDropInteraction(&self) -> Option<Retained<UIDropInteraction>>
Available on crate feature
UIDropInteraction only.fn isTextDropActive(&self) -> bool
Trait Implementations§
impl<T> ImplementedBy<T> for dyn UITextDroppable
Source§impl ProtocolType for dyn UITextDroppable
impl ProtocolType for dyn UITextDroppable
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> UITextDroppable for ProtocolObject<T>where
T: ?Sized + UITextDroppable,
Implementors§
impl UITextDroppable for UITextField
Available on crate feature
UITextField only.impl UITextDroppable for UITextView
Available on crate feature
UITextView only.