use objc2::{Encode, Encoding, RefEncode};
#[repr(i64)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub enum MTLLogLevel {
Undefined = 0,
Debug = 1,
Info = 2,
Notice = 3,
Error = 4,
Fault = 5,
}
unsafe impl Encode for MTLLogLevel {
const ENCODING: Encoding = i64::ENCODING;
}
unsafe impl RefEncode for MTLLogLevel {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}