pub enum Rule {
Show 134 variants
EOI,
WHITESPACE,
PLUS,
MINUS,
commands,
commands_ignore_unknown,
commands_with_unknown,
message,
message_no_nl,
single_message_per_line,
uci,
switch,
debug,
isready,
setoption,
option_internal,
option_name,
option_token,
option_value,
register,
register_later,
register_nc,
register_name,
register_token,
register_code,
ucinewgame,
stop,
quit,
ponderhit,
position,
square,
from_sq,
to_sq,
a_move,
promotion,
startpos,
piece_char,
rank,
file,
fen_pos,
fen,
rank_sep,
fen_rank,
color,
fen_none,
castling_chars,
castling,
en_passant,
counter,
ply_clock,
move_num,
go,
go_empty,
go_full,
go_time,
go_ponder,
go_infinite,
go_movetime,
go_timeleft,
wtime,
btime,
winc,
binc,
movestogo,
go_search,
depth,
nodes,
mate,
searchmoves,
id,
id_name,
id_author,
id_text,
uciok,
readyok,
bestmove,
bestmove_ponder,
copyprotection,
registration,
protection_checking,
protection_ok,
protection_error,
option,
option_name2,
option_type,
option_check,
option_spin,
option_combo,
option_string,
option_button,
option_default,
option_min,
option_max,
option_var,
info,
info_attribute,
info_depth,
info_seldepth,
info_time,
info_nodes,
info_currmove,
info_currmovenum,
info_hashfull,
info_nps,
info_tbhits,
info_sbhits,
info_cpuload,
info_string,
info_any,
info_string_string,
info_pv,
info_multipv,
info_refutation,
info_currline,
info_cpunr,
info_score,
info_cp,
info_mate,
info_lowerbound,
info_upperbound,
sign,
milliseconds,
digits3,
digits12,
i64,
token,
any,
alpha,
digit,
non_ws,
ws_nl,
something,
something_produced,
something_produced_nl,
}Variants§
EOI
End-of-input
WHITESPACE
PLUS
MINUS
commands
commands_ignore_unknown
commands_with_unknown
message
message_no_nl
single_message_per_line
uci
switch
debug
isready
setoption
option_internal
option_name
option_token
option_value
register
register_later
register_nc
register_name
register_token
register_code
ucinewgame
stop
quit
ponderhit
position
square
from_sq
to_sq
a_move
promotion
startpos
piece_char
rank
file
fen_pos
fen
rank_sep
fen_rank
color
fen_none
castling_chars
castling
en_passant
counter
ply_clock
move_num
go
go_empty
go_full
go_time
go_ponder
go_infinite
go_movetime
go_timeleft
wtime
btime
winc
binc
movestogo
go_search
depth
nodes
mate
searchmoves
id
id_name
id_text
uciok
readyok
bestmove
bestmove_ponder
copyprotection
registration
protection_checking
protection_ok
protection_error
option
option_name2
option_type
option_check
option_spin
option_combo
option_string
option_default
option_min
option_max
option_var
info
info_attribute
info_depth
info_seldepth
info_time
info_nodes
info_currmove
info_currmovenum
info_hashfull
info_nps
info_tbhits
info_sbhits
info_cpuload
info_string
info_any
info_string_string
info_pv
info_multipv
info_refutation
info_currline
info_cpunr
info_score
info_cp
info_mate
info_lowerbound
info_upperbound
sign
milliseconds
digits3
digits12
i64
token
any
alpha
digit
non_ws
ws_nl
something
something_produced
something_produced_nl
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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