pub trait WindowClientMethods<D: DomTypes> {
// Required methods
fn Focus(
&self,
cx: &mut JSContext,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
fn Navigate(
&self,
cx: &mut JSContext,
url: USVString,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".