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