pub enum UsiRequest {
Usi,
IsReady,
SetOption {
id: String,
value: String,
},
NewGame,
Position {
board: Board,
next_turn: Color,
},
Go,
Quit,
}Variants§
Implementations§
Source§impl UsiRequest
impl UsiRequest
pub fn parse(input: &str) -> Result<UsiRequest>
Auto Trait Implementations§
impl Freeze for UsiRequest
impl RefUnwindSafe for UsiRequest
impl Send for UsiRequest
impl Sync for UsiRequest
impl Unpin for UsiRequest
impl UnwindSafe for UsiRequest
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