pub struct Config {
pub mode: Mode,
pub players: (Player, Player),
pub first: Players,
pub empty_piece: String,
pub ai_smartness: SmartLevel,
}
Fields§
§mode: Mode
§players: (Player, Player)
§first: Players
§empty_piece: String
§ai_smartness: SmartLevel
Implementations§
Source§impl Config
impl Config
pub fn text_print_config(&self, with_number: bool)
pub fn text_print_player_page_config(&self)
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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