pub unsafe trait UIDragSession: UIDragDropSession + MainThreadOnly {
// Provided methods
fn localContext(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn setLocalContext(&self, local_context: Option<&AnyObject>)
where Self: Sized + Message { ... }
}Available on crate feature
UIDragSession only.Expand description
Provided Methods§
fn localContext(&self) -> Option<Retained<AnyObject>>
Sourceunsafe fn setLocalContext(&self, local_context: Option<&AnyObject>)
unsafe fn setLocalContext(&self, local_context: Option<&AnyObject>)
Trait Implementations§
Source§impl ProtocolType for dyn UIDragSession
impl ProtocolType for dyn UIDragSession
impl<T> ImplementedBy<T> for dyn UIDragSession
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".