Trait objc2_ui_kit::UIScreenshotServiceDelegate

source ·
pub unsafe trait UIScreenshotServiceDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided method
    unsafe fn screenshotService_generatePDFRepresentationWithCompletion(
        &self,
        screenshot_service: &UIScreenshotService,
        completion_handler: &Block<dyn Fn(*mut NSData, NSInteger, CGRect)>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIScreenshotService only.

Provided Methods§

source

unsafe fn screenshotService_generatePDFRepresentationWithCompletion( &self, screenshot_service: &UIScreenshotService, completion_handler: &Block<dyn Fn(*mut NSData, NSInteger, CGRect)> )
where Self: Sized + Message,

Available on crate feature block2 only.

Trait Implementations§

source§

impl ProtocolType for dyn UIScreenshotServiceDelegate

source§

const NAME: &'static str = "UIScreenshotServiceDelegate"

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 UIScreenshotServiceDelegate

Implementations on Foreign Types§

source§

impl<T> UIScreenshotServiceDelegate for ProtocolObject<T>

Implementors§