objc2_intents/generated/
INRelativeSetting.rs1use objc2::__framework_prelude::*;
4
5use crate::*;
6
7#[deprecated = "INRelativeSetting is deprecated. There is no replacement."]
10#[repr(transparent)]
11#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
12pub struct INRelativeSetting(pub NSInteger);
13impl INRelativeSetting {
14 #[doc(alias = "INRelativeSettingUnknown")]
15 #[deprecated = "INRelativeSetting is deprecated. There is no replacement."]
16 pub const Unknown: Self = Self(0);
17 #[doc(alias = "INRelativeSettingLowest")]
18 #[deprecated = "INRelativeSetting is deprecated. There is no replacement."]
19 pub const Lowest: Self = Self(1);
20 #[doc(alias = "INRelativeSettingLower")]
21 #[deprecated = "INRelativeSetting is deprecated. There is no replacement."]
22 pub const Lower: Self = Self(2);
23 #[doc(alias = "INRelativeSettingHigher")]
24 #[deprecated = "INRelativeSetting is deprecated. There is no replacement."]
25 pub const Higher: Self = Self(3);
26 #[doc(alias = "INRelativeSettingHighest")]
27 #[deprecated = "INRelativeSetting is deprecated. There is no replacement."]
28 pub const Highest: Self = Self(4);
29}
30
31unsafe impl Encode for INRelativeSetting {
32 const ENCODING: Encoding = NSInteger::ENCODING;
33}
34
35unsafe impl RefEncode for INRelativeSetting {
36 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
37}