objc2_core_spotlight/generated/
CSSearchableItemAttributeSet_Documents.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10#[cfg(feature = "CSSearchableItemAttributeSet")]
12impl CSSearchableItemAttributeSet {
13 extern_methods!(
14 #[unsafe(method(moveFrom:))]
15 #[unsafe(method_family = none)]
16 pub unsafe fn moveFrom(&self, source_attribute_set: &CSSearchableItemAttributeSet);
17
18 #[unsafe(method(subject))]
20 #[unsafe(method_family = none)]
21 pub unsafe fn subject(&self) -> Option<Retained<NSString>>;
22
23 #[unsafe(method(setSubject:))]
27 #[unsafe(method_family = none)]
28 pub unsafe fn setSubject(&self, subject: Option<&NSString>);
29
30 #[unsafe(method(theme))]
31 #[unsafe(method_family = none)]
32 pub unsafe fn theme(&self) -> Option<Retained<NSString>>;
33
34 #[unsafe(method(setTheme:))]
38 #[unsafe(method_family = none)]
39 pub unsafe fn setTheme(&self, theme: Option<&NSString>);
40
41 #[unsafe(method(contentDescription))]
42 #[unsafe(method_family = none)]
43 pub unsafe fn contentDescription(&self) -> Option<Retained<NSString>>;
44
45 #[unsafe(method(setContentDescription:))]
49 #[unsafe(method_family = none)]
50 pub unsafe fn setContentDescription(&self, content_description: Option<&NSString>);
51
52 #[unsafe(method(identifier))]
53 #[unsafe(method_family = none)]
54 pub unsafe fn identifier(&self) -> Option<Retained<NSString>>;
55
56 #[unsafe(method(setIdentifier:))]
60 #[unsafe(method_family = none)]
61 pub unsafe fn setIdentifier(&self, identifier: Option<&NSString>);
62
63 #[unsafe(method(audiences))]
64 #[unsafe(method_family = none)]
65 pub unsafe fn audiences(&self) -> Option<Retained<NSArray<NSString>>>;
66
67 #[unsafe(method(setAudiences:))]
71 #[unsafe(method_family = none)]
72 pub unsafe fn setAudiences(&self, audiences: Option<&NSArray<NSString>>);
73
74 #[unsafe(method(fileSize))]
75 #[unsafe(method_family = none)]
76 pub unsafe fn fileSize(&self) -> Option<Retained<NSNumber>>;
77
78 #[unsafe(method(setFileSize:))]
80 #[unsafe(method_family = none)]
81 pub unsafe fn setFileSize(&self, file_size: Option<&NSNumber>);
82
83 #[unsafe(method(pageCount))]
84 #[unsafe(method_family = none)]
85 pub unsafe fn pageCount(&self) -> Option<Retained<NSNumber>>;
86
87 #[unsafe(method(setPageCount:))]
89 #[unsafe(method_family = none)]
90 pub unsafe fn setPageCount(&self, page_count: Option<&NSNumber>);
91
92 #[unsafe(method(pageWidth))]
93 #[unsafe(method_family = none)]
94 pub unsafe fn pageWidth(&self) -> Option<Retained<NSNumber>>;
95
96 #[unsafe(method(setPageWidth:))]
98 #[unsafe(method_family = none)]
99 pub unsafe fn setPageWidth(&self, page_width: Option<&NSNumber>);
100
101 #[unsafe(method(pageHeight))]
102 #[unsafe(method_family = none)]
103 pub unsafe fn pageHeight(&self) -> Option<Retained<NSNumber>>;
104
105 #[unsafe(method(setPageHeight:))]
107 #[unsafe(method_family = none)]
108 pub unsafe fn setPageHeight(&self, page_height: Option<&NSNumber>);
109
110 #[unsafe(method(securityMethod))]
111 #[unsafe(method_family = none)]
112 pub unsafe fn securityMethod(&self) -> Option<Retained<NSString>>;
113
114 #[unsafe(method(setSecurityMethod:))]
116 #[unsafe(method_family = none)]
117 pub unsafe fn setSecurityMethod(&self, security_method: Option<&NSString>);
118
119 #[unsafe(method(creator))]
120 #[unsafe(method_family = none)]
121 pub unsafe fn creator(&self) -> Option<Retained<NSString>>;
122
123 #[unsafe(method(setCreator:))]
127 #[unsafe(method_family = none)]
128 pub unsafe fn setCreator(&self, creator: Option<&NSString>);
129
130 #[unsafe(method(encodingApplications))]
131 #[unsafe(method_family = none)]
132 pub unsafe fn encodingApplications(&self) -> Option<Retained<NSArray<NSString>>>;
133
134 #[unsafe(method(setEncodingApplications:))]
138 #[unsafe(method_family = none)]
139 pub unsafe fn setEncodingApplications(
140 &self,
141 encoding_applications: Option<&NSArray<NSString>>,
142 );
143
144 #[unsafe(method(kind))]
145 #[unsafe(method_family = none)]
146 pub unsafe fn kind(&self) -> Option<Retained<NSString>>;
147
148 #[unsafe(method(setKind:))]
152 #[unsafe(method_family = none)]
153 pub unsafe fn setKind(&self, kind: Option<&NSString>);
154
155 #[unsafe(method(fontNames))]
156 #[unsafe(method_family = none)]
157 pub unsafe fn fontNames(&self) -> Option<Retained<NSArray<NSString>>>;
158
159 #[unsafe(method(setFontNames:))]
163 #[unsafe(method_family = none)]
164 pub unsafe fn setFontNames(&self, font_names: Option<&NSArray<NSString>>);
165 );
166}