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