Skip to main content

BeforeUnloadEventMethods

Trait BeforeUnloadEventMethods 

Source
pub(crate) trait BeforeUnloadEventMethods<D>
where D: DomTypes,
{ // Required methods fn ReturnValue(&self) -> DOMString; fn SetReturnValue(&self, value: DOMString); fn IsTrusted(&self) -> bool; }

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§