Trait UIDropSession

Source
pub unsafe trait UIDropSession:
    UIDragDropSession
    + NSProgressReporting
    + MainThreadOnly {
    // Provided methods
    unsafe fn localDragSession(
        &self,
    ) -> Option<Retained<ProtocolObject<dyn UIDragSession>>>
       where Self: Sized + Message { ... }
    unsafe fn progressIndicatorStyle(
        &self,
    ) -> UIDropSessionProgressIndicatorStyle
       where Self: Sized + Message { ... }
    unsafe fn setProgressIndicatorStyle(
        &self,
        progress_indicator_style: UIDropSessionProgressIndicatorStyle,
    )
       where Self: Sized + Message { ... }
    unsafe fn loadObjectsOfClass_completion(
        &self,
        a_class: &AnyClass,
        completion: &DynBlock<dyn Fn(NonNull<NSArray<ProtocolObject<dyn NSItemProviderReading>>>)>,
    ) -> Retained<NSProgress>
       where Self: Sized + Message { ... }
}
Available on crate feature UIDragSession only.
Expand description

Provided Methods§

Source

unsafe fn localDragSession( &self, ) -> Option<Retained<ProtocolObject<dyn UIDragSession>>>
where Self: Sized + Message,

Source

unsafe fn progressIndicatorStyle(&self) -> UIDropSessionProgressIndicatorStyle
where Self: Sized + Message,

Source

unsafe fn setProgressIndicatorStyle( &self, progress_indicator_style: UIDropSessionProgressIndicatorStyle, )
where Self: Sized + Message,

Source

unsafe fn loadObjectsOfClass_completion( &self, a_class: &AnyClass, completion: &DynBlock<dyn Fn(NonNull<NSArray<ProtocolObject<dyn NSItemProviderReading>>>)>, ) -> Retained<NSProgress>
where Self: Sized + Message,

Available on crate feature block2 only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIDropSession

Source§

const NAME: &'static str = "UIDropSession"

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 UIDropSession
where T: ?Sized + Message + UIDropSession,

Implementations on Foreign Types§

Source§

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

Implementors§