Trait objc2_ui_kit::UIDragSession

source ·
pub unsafe trait UIDragSession: UIDragDropSession + IsMainThreadOnly {
    // 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.

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,

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.
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§