use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct SWHighlightCenterErrorCode(pub NSInteger);
impl SWHighlightCenterErrorCode {
#[doc(alias = "SWHighlightCenterErrorCodeNoError")]
pub const NoError: Self = Self(0);
#[doc(alias = "SWHighlightCenterErrorCodeInternalError")]
pub const InternalError: Self = Self(1);
#[doc(alias = "SWHighlightCenterErrorCodeInvalidURL")]
pub const InvalidURL: Self = Self(2);
#[doc(alias = "SWHighlightCenterErrorCodeAccessDenied")]
pub const AccessDenied: Self = Self(3);
}
unsafe impl Encode for SWHighlightCenterErrorCode {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for SWHighlightCenterErrorCode {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}