Trait objc2_ui_kit::UIDropSession

source ·
pub unsafe trait UIDropSession: NSProgressReporting + UIDragDropSession + IsMainThreadOnly {
    // 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: &Block<dyn Fn(NonNull<NSArray<ProtocolObject<dyn NSItemProviderReading>>>)>
    ) -> Retained<NSProgress>
       where Self: Sized + Message { ... }
}
Available on crate feature UIDragSession only.

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: &Block<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.
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§