Skip to main content

GamepadHapticActuatorMethods

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

Required Methods§

Source

fn Effects(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>)

Source

fn PlayEffect( &self, realm: &mut CurrentRealm<'_>, type_: GamepadHapticEffectType, params: &GamepadEffectParameters, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot

Source

fn Reset( &self, realm: &mut CurrentRealm<'_>, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot

Implementors§