GameBuilder

Trait GameBuilder 

Source
pub trait GameBuilder {
    // Required method
    fn new<'life0, 'async_trait>(
        self,
        client: &'life0 Client,
    ) -> Pin<Box<dyn Future<Output = Game> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn new<'life0, 'async_trait>( self, client: &'life0 Client, ) -> Pin<Box<dyn Future<Output = Game> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl GameBuilder for u64

Source§

fn new<'life0, 'async_trait>( self, client: &'life0 Client, ) -> Pin<Box<dyn Future<Output = Game> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§