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§
Trait Implementations§
impl<T> ImplementedBy<T> for dyn DOMEventListener
Source§impl ProtocolType for dyn DOMEventListener
impl ProtocolType for dyn DOMEventListener
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".