Trait objc2_web_kit::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.

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