Trait script::dom::bindings::codegen::Bindings::GamepadHapticActuatorBinding::GamepadHapticActuator_Binding::GamepadHapticActuatorMethods
source · pub trait GamepadHapticActuatorMethods {
// Required methods
fn Effects(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
fn PlayEffect(
&self,
type_: GamepadHapticEffectType,
params: &GamepadEffectParameters,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<Promise>;
fn Reset(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>;
}