objc2-intents 0.3.2

Bindings to the Intents framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/intents/inradiotype?language=objc)
// NS_ENUM
#[deprecated = "INRadioType is deprecated. There is no replacement."]
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INRadioType(pub NSInteger);
impl INRadioType {
    #[doc(alias = "INRadioTypeUnknown")]
    #[deprecated = "INRadioType is deprecated. There is no replacement."]
    pub const Unknown: Self = Self(0);
    #[doc(alias = "INRadioTypeAM")]
    #[deprecated = "INRadioType is deprecated. There is no replacement."]
    pub const AM: Self = Self(1);
    #[doc(alias = "INRadioTypeFM")]
    #[deprecated = "INRadioType is deprecated. There is no replacement."]
    pub const FM: Self = Self(2);
    #[doc(alias = "INRadioTypeHD")]
    #[deprecated = "INRadioType is deprecated. There is no replacement."]
    pub const HD: Self = Self(3);
    #[doc(alias = "INRadioTypeSatellite")]
    #[deprecated = "INRadioType is deprecated. There is no replacement."]
    pub const Satellite: Self = Self(4);
    #[doc(alias = "INRadioTypeDAB")]
    #[deprecated = "INRadioType is deprecated. There is no replacement."]
    pub const DAB: Self = Self(5);
}

unsafe impl Encode for INRadioType {
    const ENCODING: Encoding = NSInteger::ENCODING;
}

unsafe impl RefEncode for INRadioType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}