use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INDateSearchType(pub NSInteger);
impl INDateSearchType {
#[doc(alias = "INDateSearchTypeUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INDateSearchTypeByDueDate")]
pub const ByDueDate: Self = Self(1);
#[doc(alias = "INDateSearchTypeByModifiedDate")]
pub const ByModifiedDate: Self = Self(2);
#[doc(alias = "INDateSearchTypeByCreatedDate")]
pub const ByCreatedDate: Self = Self(3);
}
unsafe impl Encode for INDateSearchType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INDateSearchType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}