use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INTaskType(pub NSInteger);
impl INTaskType {
#[doc(alias = "INTaskTypeUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INTaskTypeNotCompletable")]
pub const NotCompletable: Self = Self(1);
#[doc(alias = "INTaskTypeCompletable")]
pub const Completable: Self = Self(2);
}
unsafe impl Encode for INTaskType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INTaskType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}