objc2-intents 0.3.2

Bindings to the Intents framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;

use crate::*;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/intents/inintenthandlerproviding?language=objc)
    pub unsafe trait INIntentHandlerProviding: NSObjectProtocol {
        #[cfg(feature = "INIntent")]
        #[unsafe(method(handlerForIntent:))]
        #[unsafe(method_family = none)]
        unsafe fn handlerForIntent(&self, intent: &INIntent) -> Option<Retained<AnyObject>>;
    }
);