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.
/HandNotResolved
を resolve
でこの型に変換することによって、『役は発生しなかったぞ』であるのか、それとも『役は発生しており、したがって【再行ならこの A
に至る】【終季ならこの Probabilistic<state::A>
に至る(どちらが先手になるかは鯖のみぞ知るので Probabilistic
)】』のどちらであるかを知ることができる。撃皇が役を構成するかどうかによってここの処理は変わってくるので、
resolve
は Config
を要求する。
Variants
NeitherTymokNorTaxot(A)
GameEndsWithoutTymokTaxot(Victor)
減点行為が役でないルールでは、役が成立して終季・再行の選択が発生せずに点が尽きることがありうる
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HandResolved
impl Send for HandResolved
impl Sync for HandResolved
impl Unpin for HandResolved
impl UnwindSafe for HandResolved
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V