Enum usiagent::shogi::Move [−][src]
pub enum Move {
To(KomaSrcPosition, KomaDstToPosition),
Put(MochigomaKind, KomaDstPutPosition),
}
Expand description
指し手
Variants
盤面上の駒を移動
Tuple Fields of To
持ち駒を置く
Tuple Fields of Put
Implementations
指し手をAppliedMove
に変換
Trait Implementations
Performs the conversion.
Performs the conversion.
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
Auto Trait Implementations
impl RefUnwindSafe for Move
impl UnwindSafe for Move
Blanket Implementations
Mutably borrows from an owned value. Read more