Trait objc2_ui_kit::UITextDroppable
source · pub unsafe trait UITextDroppable: UITextInput + UITextPasteConfigurationSupporting + IsMainThreadOnly {
// 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.Provided Methods§
unsafe fn textDropDelegate( &self ) -> Option<Retained<ProtocolObject<dyn UITextDropDelegate>>>
unsafe fn setTextDropDelegate( &self, text_drop_delegate: Option<&ProtocolObject<dyn UITextDropDelegate>> )
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.