objc2_web_kit/generated/
DOMEventException.rs1use core::ffi::*;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern "C" {
10 #[deprecated]
12 pub static DOMEventException: Option<&'static NSString>;
13}
14
15#[deprecated]
17#[repr(transparent)]
18#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
19pub struct DOMEventExceptionCode(pub c_uint);
20impl DOMEventExceptionCode {
21 #[doc(alias = "DOM_UNSPECIFIED_EVENT_TYPE_ERR")]
22 #[deprecated]
23 pub const UNSPECIFIED_EVENT_TYPE_ERR: Self = Self(0);
24}
25
26unsafe impl Encode for DOMEventExceptionCode {
27 const ENCODING: Encoding = c_uint::ENCODING;
28}
29
30unsafe impl RefEncode for DOMEventExceptionCode {
31 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
32}