Skip to main content

BeforeUnloadEventMethods

pub trait BeforeUnloadEventMethods<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§