objc2_intents/generated/
INRadioType.rs1use objc2::__framework_prelude::*;
4
5use crate::*;
6
7#[deprecated = "INRadioType is deprecated. There is no replacement."]
10#[repr(transparent)]
11#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
12pub struct INRadioType(pub NSInteger);
13impl INRadioType {
14 #[doc(alias = "INRadioTypeUnknown")]
15 #[deprecated = "INRadioType is deprecated. There is no replacement."]
16 pub const Unknown: Self = Self(0);
17 #[doc(alias = "INRadioTypeAM")]
18 #[deprecated = "INRadioType is deprecated. There is no replacement."]
19 pub const AM: Self = Self(1);
20 #[doc(alias = "INRadioTypeFM")]
21 #[deprecated = "INRadioType is deprecated. There is no replacement."]
22 pub const FM: Self = Self(2);
23 #[doc(alias = "INRadioTypeHD")]
24 #[deprecated = "INRadioType is deprecated. There is no replacement."]
25 pub const HD: Self = Self(3);
26 #[doc(alias = "INRadioTypeSatellite")]
27 #[deprecated = "INRadioType is deprecated. There is no replacement."]
28 pub const Satellite: Self = Self(4);
29 #[doc(alias = "INRadioTypeDAB")]
30 #[deprecated = "INRadioType is deprecated. There is no replacement."]
31 pub const DAB: Self = Self(5);
32}
33
34unsafe impl Encode for INRadioType {
35 const ENCODING: Encoding = NSInteger::ENCODING;
36}
37
38unsafe impl RefEncode for INRadioType {
39 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
40}