Struct rust_sc2::player::Computer [−][src]
pub struct Computer { pub race: Race, pub difficulty: Difficulty, pub ai_build: Option<AIBuild>, }
Expand description
Computer opponent configuration used in run_vs_computer
.
Fields
race: Race
difficulty: Difficulty
ai_build: Option<AIBuild>
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Computer
impl Send for Computer
impl Sync for Computer
impl Unpin for Computer
impl UnwindSafe for Computer
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>,