Skip to main content

DOMXPathNSResolver

Trait DOMXPathNSResolver 

Source
pub unsafe trait DOMXPathNSResolver: NSObjectProtocol {
    // Provided method
    unsafe fn lookupNamespaceURI(
        &self,
        prefix: Option<&NSString>,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature DOMXPathNSResolver only.
Expand description

Provided Methods§

Source

unsafe fn lookupNamespaceURI( &self, prefix: Option<&NSString>, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

👎Deprecated
§Safety

prefix might not allow None.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn DOMXPathNSResolver

Source§

impl ProtocolType for dyn DOMXPathNSResolver

Source§

const NAME: &'static str = "DOMXPathNSResolver"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> DOMXPathNSResolver for ProtocolObject<T>

Implementors§