Trait DOMEventListener

Source
pub unsafe trait DOMEventListener: NSObjectProtocol {
    // Provided method
    unsafe fn handleEvent(&self, event: Option<&DOMEvent>)
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature DOMEventListener only.
Expand description

Provided Methods§

Source

unsafe fn handleEvent(&self, event: Option<&DOMEvent>)
where Self: Sized + Message,

👎Deprecated
Available on crate features DOMEvent and DOMObject and WebScriptObject only.

Trait Implementations§

Source§

impl ProtocolType for dyn DOMEventListener

Source§

const NAME: &'static str = "DOMEventListener"

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
Source§

impl<T> ImplementedBy<T> for dyn DOMEventListener

Implementations on Foreign Types§

Source§

impl<T> DOMEventListener for ProtocolObject<T>
where T: ?Sized + DOMEventListener,

Implementors§