Skip to main content

DOMNodeFilter

Trait DOMNodeFilter 

Source
pub unsafe trait DOMNodeFilter: NSObjectProtocol {
    // Provided method
    unsafe fn acceptNode(&self, n: Option<&DOMNode>) -> c_short
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature DOMNodeFilter only.
Expand description

Provided Methods§

Source

unsafe fn acceptNode(&self, n: Option<&DOMNode>) -> c_short
where Self: Sized + Message,

👎Deprecated
Available on crate features DOMNode and DOMObject and WebScriptObject only.
§Safety

n might not allow None.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn DOMNodeFilter
where T: ?Sized + Message + DOMNodeFilter,

Source§

impl ProtocolType for dyn DOMNodeFilter

Source§

const NAME: &'static str = "DOMNodeFilter"

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> DOMNodeFilter for ProtocolObject<T>
where T: ?Sized + DOMNodeFilter,

Implementors§