Enum usiagent::shogi::KomaKind[][src]

pub enum KomaKind {
Show 29 variants SFu, SKyou, SKei, SGin, SKin, SKaku, SHisha, SOu, SFuN, SKyouN, SKeiN, SGinN, SKakuN, SHishaN, GFu, GKyou, GKei, GGin, GKin, GKaku, GHisha, GOu, GFuN, GKyouN, GKeiN, GGinN, GKakuN, GHishaN, Blank,
}
Expand description

盤面上の駒の種別

Variants

SFu

先手歩

SKyou

先手香

SKei

先手桂

SGin

先手銀

SKin

先手金

SKaku

先手角

SHisha

先手飛車

SOu

SFuN

先手と金

SKyouN

先手成り香

SKeiN

先手成り桂

SGinN

先手成銀

SKakuN

先手馬

SHishaN

先手龍

GFu

後手歩

GKyou

後手香

GKei

後手桂

GGin

後手銀

GKin

後手金

GKaku

後手角

GHisha

後手飛車

GOu

GFuN

後手と金

GKyouN

後手成り香

GKeiN

後手成り桂

GGinN

後手成銀

GKakuN

後手馬

GHishaN

後手龍

Blank

駒無し

Implementations

駒が成った時のKomaKindを取得

駒が成っているか否かを取得

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

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

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

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

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. 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.