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