pub unsafe trait UITextDropRequest: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn dropPosition(&self) -> Retained<UITextPosition>
where Self: Sized + Message { ... }
fn suggestedProposal(&self) -> Retained<UITextDropProposal>
where Self: Sized + Message { ... }
fn isSameView(&self) -> bool
where Self: Sized + Message { ... }
fn dropSession(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
where Self: Sized + Message { ... }
}Available on crate feature
UITextDropping only.Expand description
Provided Methods§
fn dropPosition(&self) -> Retained<UITextPosition>
Available on crate feature
UITextInput only.fn suggestedProposal(&self) -> Retained<UITextDropProposal>
Available on crate features
UIDropInteraction and UITextDropProposal only.fn isSameView(&self) -> bool
fn dropSession(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
Available on crate feature
UIDragSession only.Trait Implementations§
Source§impl ProtocolType for dyn UITextDropRequest
impl ProtocolType for dyn UITextDropRequest
impl<T> ImplementedBy<T> for dyn UITextDropRequest
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".