pub trait GamepadHapticActuatorMethods {
    // Required methods
    fn Effects(&self, cx: SafeJSContext) -> JSVal;
    fn PlayEffect(
        &self,
        type_: GamepadHapticEffectType,
        params: &GamepadEffectParameters,
        _comp: InRealm<'_>,
    ) -> Rc<Promise>;
    fn Reset(&self, _comp: InRealm<'_>) -> Rc<Promise>;
}

Required Methods§

source

fn Effects(&self, cx: SafeJSContext) -> JSVal

source

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

source

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

Implementors§