Struct rust_sc2::client::RunnerSingle [−][src]
pub struct RunnerSingle<'a, B> where
B: Player + DerefMut<Target = Bot> + Deref<Target = Bot>, { pub computer: Computer, pub realtime: bool, pub save_replay_as: Option<&'a str>, // some fields omitted }
Expand description
Runner for games vs built-in AI.
Fields
computer: Computer
Computer opponent configuration.
realtime: bool
Play games in real time mode or not.
save_replay_as: Option<&'a str>
Save replay after the game in given path.
Implementations
impl<'a, B> RunnerSingle<'a, B> where
B: Player + DerefMut<Target = Bot> + Deref<Target = Bot>,
[src]
impl<'a, B> RunnerSingle<'a, B> where
B: Player + DerefMut<Target = Bot> + Deref<Target = Bot>,
[src]Auto Trait Implementations
impl<'a, B> RefUnwindSafe for RunnerSingle<'a, B> where
B: RefUnwindSafe,
B: RefUnwindSafe,
impl<'a, B> Send for RunnerSingle<'a, B> where
B: Send,
B: Send,
impl<'a, B> Sync for RunnerSingle<'a, B> where
B: Sync,
B: Sync,
impl<'a, B> Unpin for RunnerSingle<'a, B>
impl<'a, B> !UnwindSafe for RunnerSingle<'a, B>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,