pub trait GamepadHapticActuatorMethods<D: DomTypes> {
    // 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>;
}

Required Methods§

source

fn Effects(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)

source

fn PlayEffect( &self, type_: GamepadHapticEffectType, params: &GamepadEffectParameters, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<Promise>

source

fn Reset(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>

Implementors§