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