pub trait GamepadHapticActuatorMethods<D: DomTypes> {
// Required methods
fn Effects(&self, cx: &mut JSContext, retval: MutableHandleValue<'_>);
fn PlayEffect(
&self,
realm: &mut CurrentRealm<'_>,
type_: GamepadHapticEffectType,
params: &GamepadEffectParameters,
) -> Rc<D::Promise>;
fn Reset(&self, realm: &mut CurrentRealm<'_>) -> Rc<D::Promise>;
}