pub(crate) trait WakeLockMethods<D>where
D: DomTypes,{
// Required method
fn Request(
&self,
realm: &mut CurrentRealm<'_>,
type_: WakeLockType,
) -> Rc<<D as DomTypes>::Promise>;
}pub(crate) trait WakeLockMethods<D>where
D: DomTypes,{
// Required method
fn Request(
&self,
realm: &mut CurrentRealm<'_>,
type_: WakeLockType,
) -> Rc<<D as DomTypes>::Promise>;
}