[][src]Enum vampirc_uci::parser::Rule

pub enum Rule {
    WHITESPACE,
    commands,
    commands_ignore_unknown,
    message,
    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_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,
    milliseconds,
    digits3,
    digits12,
    i64,
    token,
    any,
    alpha,
    digit,
    non_ws,
    ws_nl,
    something,
}

Variants

WHITESPACEcommandscommands_ignore_unknownmessageuciswitchdebugisreadysetoptionoption_internaloption_nameoption_tokenoption_valueregisterregister_laterregister_ncregister_nameregister_tokenregister_codeucinewgamestopquitponderhitpositionsquarefrom_sqto_sqa_movepromotionstartpospiece_charrankfilefen_posfenrank_sepfen_rankcolorfen_nonecastling_charscastlingen_passantcounterply_clockmove_numgogo_timego_pondergo_infinitego_movetimego_timeleftwtimebtimewincbincmovestogogo_searchdepthnodesmatesearchmovesidid_nameid_authorid_textuciokreadyokbestmovebestmove_pondercopyprotectionregistrationprotection_checkingprotection_okprotection_erroroptionoption_name2option_typeoption_checkoption_spinoption_combooption_stringoption_buttonoption_defaultoption_minoption_maxoption_varinfoinfo_attributeinfo_depthinfo_seldepthinfo_timeinfo_nodesinfo_currmoveinfo_currmovenuminfo_hashfullinfo_npsinfo_tbhitsinfo_sbhitsinfo_cpuloadinfo_stringinfo_anyinfo_string_stringinfo_pvinfo_multipvinfo_refutationinfo_currlineinfo_cpunrinfo_scoreinfo_cpinfo_mateinfo_lowerboundinfo_upperboundmillisecondsdigits3digits12i64tokenanyalphadigitnon_wsws_nlsomething

Trait Implementations

impl Clone for Rule[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<Rule> for Rule[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialOrd<Rule> for Rule[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Rule[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more

impl Eq for Rule[src]

impl Copy for Rule[src]

impl Hash for Rule[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Rule[src]

Auto Trait Implementations

impl Send for Rule

impl Sync for Rule

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> RuleType for T where
    T: Copy + Eq + Ord + Hash + Debug
[src]