objc2_intents/generated/
INIntentDonationMetadata.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10    /// [Apple's documentation](https://developer.apple.com/documentation/intents/inintentdonationmetadata?language=objc)
11    #[unsafe(super(NSObject))]
12    #[derive(Debug, PartialEq, Eq, Hash)]
13    pub struct INIntentDonationMetadata;
14);
15
16extern_conformance!(
17    unsafe impl NSCoding for INIntentDonationMetadata {}
18);
19
20extern_conformance!(
21    unsafe impl NSCopying for INIntentDonationMetadata {}
22);
23
24unsafe impl CopyingHelper for INIntentDonationMetadata {
25    type Result = Self;
26}
27
28extern_conformance!(
29    unsafe impl NSObjectProtocol for INIntentDonationMetadata {}
30);
31
32extern_conformance!(
33    unsafe impl NSSecureCoding for INIntentDonationMetadata {}
34);
35
36impl INIntentDonationMetadata {
37    extern_methods!(
38        #[unsafe(method(init))]
39        #[unsafe(method_family = init)]
40        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
41    );
42}
43
44/// Methods declared on superclass `NSObject`.
45impl INIntentDonationMetadata {
46    extern_methods!(
47        #[unsafe(method(new))]
48        #[unsafe(method_family = new)]
49        pub unsafe fn new() -> Retained<Self>;
50    );
51}