pub struct OthelloSimulator { /* private fields */ }Implementations§
Source§impl OthelloSimulator
impl OthelloSimulator
pub fn new() -> Self
pub fn play_game(&mut self)
pub fn play_games(&mut self, num_games: u32)
pub fn print_summary(&self)
Auto Trait Implementations§
impl Freeze for OthelloSimulator
impl RefUnwindSafe for OthelloSimulator
impl Send for OthelloSimulator
impl Sync for OthelloSimulator
impl Unpin for OthelloSimulator
impl UnwindSafe for OthelloSimulator
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