objc2-shared-with-you 0.3.2

Bindings to the SharedWithYou framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/sharedwithyou/swhighlightcentererrorcode?language=objc)
// NS_ENUM
#[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);
}