pub trait BeforeUnloadEventMethods<D: DomTypes> {
// Required methods
fn ReturnValue(&self) -> DOMString;
fn SetReturnValue(&self, value: DOMString);
fn IsTrusted(&self) -> bool;
}Required Methods§
fn ReturnValue(&self) -> DOMString
fn SetReturnValue(&self, value: DOMString)
fn IsTrusted(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".