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