Trait objc2_ui_kit::UITextDraggable
source · pub unsafe trait UITextDraggable: UITextInput + IsMainThreadOnly {
// Provided methods
unsafe fn textDragDelegate(
&self
) -> Option<Retained<ProtocolObject<dyn UITextDragDelegate>>>
where Self: Sized + Message { ... }
unsafe fn setTextDragDelegate(
&self,
text_drag_delegate: Option<&ProtocolObject<dyn UITextDragDelegate>>
)
where Self: Sized + Message { ... }
unsafe fn textDragInteraction(&self) -> Option<Retained<UIDragInteraction>>
where Self: Sized + Message { ... }
unsafe fn isTextDragActive(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn textDragOptions(&self) -> UITextDragOptions
where Self: Sized + Message { ... }
unsafe fn setTextDragOptions(&self, text_drag_options: UITextDragOptions)
where Self: Sized + Message { ... }
}
Available on crate features
UITextDragging
and UITextInput
and UITextInputTraits
only.Provided Methods§
unsafe fn textDragDelegate( &self ) -> Option<Retained<ProtocolObject<dyn UITextDragDelegate>>>
unsafe fn setTextDragDelegate( &self, text_drag_delegate: Option<&ProtocolObject<dyn UITextDragDelegate>> )
unsafe fn textDragInteraction(&self) -> Option<Retained<UIDragInteraction>>
Available on crate feature
UIDragInteraction
only.unsafe fn isTextDragActive(&self) -> bool
unsafe fn textDragOptions(&self) -> UITextDragOptions
unsafe fn setTextDragOptions(&self, text_drag_options: UITextDragOptions)
Trait Implementations§
source§impl ProtocolType for dyn UITextDraggable
impl ProtocolType for dyn UITextDraggable
impl<T> ImplementedBy<T> for dyn UITextDraggable
Implementations on Foreign Types§
impl<T> UITextDraggable for ProtocolObject<T>where
T: ?Sized + UITextDraggable,
Implementors§
impl UITextDraggable for UITextField
Available on crate features
UIControl
and UIResponder
and UIView
and UITextField
only.impl UITextDraggable for UITextView
Available on crate features
UIResponder
and UIScrollView
and UIView
and UITextView
only.