pub unsafe trait UITextDraggable: UITextInput + MainThreadOnly {
// 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.Expand description
Provided Methods§
unsafe fn textDragDelegate( &self, ) -> Option<Retained<ProtocolObject<dyn UITextDragDelegate>>>
Sourceunsafe fn setTextDragDelegate(
&self,
text_drag_delegate: Option<&ProtocolObject<dyn UITextDragDelegate>>,
)
unsafe fn setTextDragDelegate( &self, text_drag_delegate: Option<&ProtocolObject<dyn UITextDragDelegate>>, )
This is a weak property.
Setter for textDragDelegate.
unsafe fn textDragInteraction(&self) -> Option<Retained<UIDragInteraction>>
Available on crate feature
UIDragInteraction only.unsafe fn isTextDragActive(&self) -> bool
unsafe fn textDragOptions(&self) -> UITextDragOptions
Sourceunsafe fn setTextDragOptions(&self, text_drag_options: UITextDragOptions)
unsafe fn setTextDragOptions(&self, text_drag_options: UITextDragOptions)
Setter for textDragOptions.
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.