Trait objc2_ui_kit::UITextDropRequest
source · pub unsafe trait UITextDropRequest: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn dropPosition(&self) -> Retained<UITextPosition>
where Self: Sized + Message { ... }
unsafe fn suggestedProposal(&self) -> Retained<UITextDropProposal>
where Self: Sized + Message { ... }
unsafe fn isSameView(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn dropSession(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
where Self: Sized + Message { ... }
}
Available on crate feature
UITextDropping
only.Provided Methods§
unsafe fn dropPosition(&self) -> Retained<UITextPosition>
Available on crate feature
UITextInput
only.unsafe fn suggestedProposal(&self) -> Retained<UITextDropProposal>
Available on crate features
UIDropInteraction
and UITextDropProposal
only.unsafe fn isSameView(&self) -> bool
unsafe fn dropSession(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
Available on crate feature
UIDragSession
only.