Trait UIDragSession

Source
pub unsafe trait UIDragSession: UIDragDropSession + MainThreadOnly {
    // Provided methods
    unsafe 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§

Source

unsafe fn localContext(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

Source

unsafe fn setLocalContext(&self, local_context: Option<&AnyObject>)
where Self: Sized + Message,

Setter for localContext.

Trait Implementations§

Source§

impl ProtocolType for dyn UIDragSession

Source§

const NAME: &'static str = "UIDragSession"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UIDragSession
where T: ?Sized + Message + UIDragSession,

Implementations on Foreign Types§

Source§

impl<T> UIDragSession for ProtocolObject<T>
where T: ?Sized + UIDragSession,

Implementors§