pub struct RandomBot { /* private fields */ }Expand description
A bot that picks one of TurnRules::legal_commands at random, from
its own seeded RNG.
Implementations§
Trait Implementations§
impl Eq for RandomBot
impl StructuralPartialEq for RandomBot
Auto Trait Implementations§
impl Freeze for RandomBot
impl RefUnwindSafe for RandomBot
impl Send for RandomBot
impl Sync for RandomBot
impl Unpin for RandomBot
impl UnsafeUnpin for RandomBot
impl UnwindSafe for RandomBot
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