Struct hexe_core::mv::kind::EnPassant [] [src]

pub struct EnPassant(_);

An en passant move.

Methods

impl EnPassant
[src]

[src]

Attempts to create a new en passant move.

[src]

Creates a new en passant move without checking whether it is legal.

[src]

Returns the kind for self.

[src]

Returns the square of the captured piece.

[src]

Returns the color of the moving piece.

Methods from Deref<Target = Move>

Trait Implementations

impl From<EnPassant> for Move
[src]

[src]

Performs the conversion.

impl From<EnPassant> for u16
[src]

[src]

Performs the conversion.

impl FromUnchecked<Move> for EnPassant
[src]

[src]

Performs the unchecked conversion.

impl FromUnchecked<u16> for EnPassant
[src]

[src]

Performs the unchecked conversion.

impl Deref for EnPassant
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl AsRef<Move> for EnPassant
[src]

[src]

Performs the conversion.

impl PartialEq for EnPassant
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for EnPassant
[src]

impl Clone for EnPassant
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for EnPassant
[src]

impl Hash for EnPassant
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for EnPassant
[src]

[src]

Formats the value using the given formatter. Read more

impl From<EnPassant> for Matches
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for EnPassant

impl Sync for EnPassant