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/incaraudiosource?language=objc)
// NS_ENUM
#[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INCarAudioSource(pub NSInteger);
impl INCarAudioSource {
    #[doc(alias = "INCarAudioSourceUnknown")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceUnknown: Self = Self(0);
    #[doc(alias = "INCarAudioSourceCarPlay")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceCarPlay: Self = Self(1);
    #[doc(alias = "INCarAudioSourceiPod")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceiPod: Self = Self(2);
    #[doc(alias = "INCarAudioSourceRadio")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceRadio: Self = Self(3);
    #[doc(alias = "INCarAudioSourceBluetooth")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceBluetooth: Self = Self(4);
    #[doc(alias = "INCarAudioSourceAUX")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceAUX: Self = Self(5);
    #[doc(alias = "INCarAudioSourceUSB")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceUSB: Self = Self(6);
    #[doc(alias = "INCarAudioSourceMemoryCard")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceMemoryCard: Self = Self(7);
    #[doc(alias = "INCarAudioSourceOpticalDrive")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceOpticalDrive: Self = Self(8);
    #[doc(alias = "INCarAudioSourceHardDrive")]
    #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
    pub const SourceHardDrive: Self = Self(9);
}

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

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