Trait objc2_ui_kit::UITextDragRequest
source · pub unsafe trait UITextDragRequest: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn dragRange(&self) -> Retained<UITextRange>
where Self: Sized + Message { ... }
unsafe fn suggestedItems(&self) -> Retained<NSArray<UIDragItem>>
where Self: Sized + Message { ... }
unsafe fn existingItems(&self) -> Retained<NSArray<UIDragItem>>
where Self: Sized + Message { ... }
unsafe fn isSelected(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn dragSession(&self) -> Retained<ProtocolObject<dyn UIDragSession>>
where Self: Sized + Message { ... }
}
Available on crate feature
UITextDragging
only.Provided Methods§
unsafe fn dragRange(&self) -> Retained<UITextRange>
Available on crate feature
UITextInput
only.unsafe fn suggestedItems(&self) -> Retained<NSArray<UIDragItem>>
Available on crate feature
UIDragItem
only.unsafe fn existingItems(&self) -> Retained<NSArray<UIDragItem>>
Available on crate feature
UIDragItem
only.unsafe fn isSelected(&self) -> bool
unsafe fn dragSession(&self) -> Retained<ProtocolObject<dyn UIDragSession>>
Available on crate feature
UIDragSession
only.