use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern "C" {
pub static CNCinematicErrorDomain: &'static NSErrorDomain;
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct CNCinematicErrorCode(pub NSInteger);
impl CNCinematicErrorCode {
#[doc(alias = "CNCinematicErrorCodeUnknown")]
pub const Unknown: Self = Self(1);
#[doc(alias = "CNCinematicErrorCodeUnreadable")]
pub const Unreadable: Self = Self(2);
#[doc(alias = "CNCinematicErrorCodeIncomplete")]
pub const Incomplete: Self = Self(3);
#[doc(alias = "CNCinematicErrorCodeMalformed")]
pub const Malformed: Self = Self(4);
#[doc(alias = "CNCinematicErrorCodeUnsupported")]
pub const Unsupported: Self = Self(5);
#[doc(alias = "CNCinematicErrorCodeIncompatible")]
pub const Incompatible: Self = Self(6);
#[doc(alias = "CNCinematicErrorCodeCancelled")]
pub const Cancelled: Self = Self(7);
}
unsafe impl Encode for CNCinematicErrorCode {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for CNCinematicErrorCode {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}