Trait arci::gamepad::Gamepad[][src]

pub trait Gamepad: Send + Sync {
#[must_use]    fn next_event<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = GamepadEvent> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn stop(&self); }

Required methods

#[must_use]fn next_event<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = GamepadEvent> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

fn stop(&self)[src]

Loading content...

Implementations on Foreign Types

impl<T: Gamepad + ?Sized> Gamepad for Box<T> where
    Box<T>: Send + Sync
[src]

impl<T: Gamepad + ?Sized> Gamepad for Arc<T> where
    Arc<T>: Send + Sync
[src]

Loading content...

Implementors

Loading content...