Struct usiagent::rule::LegalMoveTo [−][src]
pub struct LegalMoveTo(_);
Expand description
盤面上の駒を動かす手
Implementations
LegalMoveTo
を生成
Arguments
src
- 盤面左上を0,0とし、x * 9 + yで表される移動元の位置to
- 盤面左上を0,0とし、x * 9 + yで表される移動先の駒の位置nari
- 成るか否かobtaind
- 獲った駒
獲った駒
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LegalMoveTo
impl Send for LegalMoveTo
impl Sync for LegalMoveTo
impl Unpin for LegalMoveTo
impl UnwindSafe for LegalMoveTo
Blanket Implementations
Mutably borrows from an owned value. Read more