objc2_web_kit/generated/DOMXPathNSResolver.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2::__framework_prelude::*;
4use objc2_foundation::*;
5
6use crate::*;
7
8extern_protocol!(
9 /// [Apple's documentation](https://developer.apple.com/documentation/webkit/domxpathnsresolver?language=objc)
10 #[deprecated]
11 pub unsafe trait DOMXPathNSResolver: NSObjectProtocol {
12 /// # Safety
13 ///
14 /// `prefix` might not allow `None`.
15 #[deprecated]
16 #[unsafe(method(lookupNamespaceURI:))]
17 #[unsafe(method_family = none)]
18 unsafe fn lookupNamespaceURI(
19 &self,
20 prefix: Option<&NSString>,
21 ) -> Option<Retained<NSString>>;
22 }
23);