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