use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INPlaybackQueueLocation(pub NSInteger);
impl INPlaybackQueueLocation {
#[doc(alias = "INPlaybackQueueLocationUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INPlaybackQueueLocationNow")]
pub const Now: Self = Self(1);
#[doc(alias = "INPlaybackQueueLocationNext")]
pub const Next: Self = Self(2);
#[doc(alias = "INPlaybackQueueLocationLater")]
pub const Later: Self = Self(3);
}
unsafe impl Encode for INPlaybackQueueLocation {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INPlaybackQueueLocation {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}