objc2_mail_kit/generated/
MEAddressAnnotation.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
14 #[derive(Debug, PartialEq, Eq, Hash)]
15 pub struct MEAddressAnnotation;
16);
17
18extern_conformance!(
19 unsafe impl NSCoding for MEAddressAnnotation {}
20);
21
22extern_conformance!(
23 unsafe impl NSObjectProtocol for MEAddressAnnotation {}
24);
25
26extern_conformance!(
27 unsafe impl NSSecureCoding for MEAddressAnnotation {}
28);
29
30impl MEAddressAnnotation {
31 extern_methods!(
32 #[unsafe(method(init))]
33 #[unsafe(method_family = init)]
34 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
35
36 #[unsafe(method(new))]
37 #[unsafe(method_family = new)]
38 pub unsafe fn new() -> Retained<Self>;
39
40 #[unsafe(method(errorWithLocalizedDescription:))]
44 #[unsafe(method_family = none)]
45 pub unsafe fn errorWithLocalizedDescription(
46 localized_description: &NSString,
47 ) -> Retained<MEAddressAnnotation>;
48
49 #[unsafe(method(warningWithLocalizedDescription:))]
53 #[unsafe(method_family = none)]
54 pub unsafe fn warningWithLocalizedDescription(
55 localized_description: &NSString,
56 ) -> Retained<MEAddressAnnotation>;
57
58 #[unsafe(method(successWithLocalizedDescription:))]
62 #[unsafe(method_family = none)]
63 pub unsafe fn successWithLocalizedDescription(
64 localized_description: &NSString,
65 ) -> Retained<MEAddressAnnotation>;
66 );
67}