Enum cetkaik_full_state_transition::state::HandResolved[][src]

pub enum HandResolved {
    NeitherTymokNorTaxot(A),
    HandExists {
        if_tymok: A,
        if_taxot: IfTaxot,
    },
    GameEndsWithoutTymokTaxot(Victor),
}
Expand description

Converting HandNotResolved into HandResolved with resolve tells you whether a new hand was created. If so, the HandExists variant is taken; if not, the NeitherTymokNorTaxot is taken. /HandNotResolvedresolve でこの型に変換することによって、『役は発生しなかったぞ』であるのか、それとも『役は発生しており、したがって【再行ならこの A に至る】【終季ならこの Probabilistic<state::A> に至る(どちらが先手になるかは鯖のみぞ知るので Probabilistic)】』のどちらであるかを知ることができる。撃皇が役を構成するかどうかによってここの処理は変わってくるので、 resolveConfig を要求する。

Variants

NeitherTymokNorTaxot(A)
HandExists
Show fields

Fields of HandExists

if_tymok: Aif_taxot: IfTaxot
GameEndsWithoutTymokTaxot(Victor)

減点行為が役でないルールでは、役が成立して終季・再行の選択が発生せずに点が尽きることがありうる

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.