use objc2::{Encode, Encoding, RefEncode};
#[repr(i64)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, PartialOrd, Ord)]
pub enum MTLHeapType {
Automatic = 0,
Placement = 1,
Sparse = 2,
}
unsafe impl Encode for MTLHeapType {
const ENCODING: Encoding = i64::ENCODING;
}
unsafe impl RefEncode for MTLHeapType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}