pub struct BotOption<G: Game> { /* private fields */ }Expand description
One selectable AI type for a seat.
Names an AI and how to build it for a seat seed. Carried by SessionApp
so the setup modal can offer a per-game set of bots (see
random_bot/mcts_bot/ismcts_bot).
Implementations§
Auto Trait Implementations§
impl<G> Freeze for BotOption<G>
impl<G> !RefUnwindSafe for BotOption<G>
impl<G> !Send for BotOption<G>
impl<G> !Sync for BotOption<G>
impl<G> Unpin for BotOption<G>
impl<G> UnsafeUnpin for BotOption<G>
impl<G> !UnwindSafe for BotOption<G>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more