Struct sc2::AgentBuilder [] [src]

pub struct AgentBuilder<T: Soma + 'static> { /* fields omitted */ }

build an agent

Methods

impl<T: Soma + 'static> AgentBuilder<T>
[src]

[src]

the tokio core handle to use

[src]

create the agent

impl<T, F> AgentBuilder<AgentWrapper<T, F>> where
    T: Player + 'static,
    F: FnOnce(AgentControl) -> T, 
[src]

[src]

wrap a factory to be called with the agent controls when ready

Trait Implementations

Auto Trait Implementations

impl<T> !Send for AgentBuilder<T>

impl<T> !Sync for AgentBuilder<T>