Enum hexe_core::mv::Kind [] [src]

#[repr(u8)]
pub enum Kind { Normal, Castle, Promotion, EnPassant, }

A chess piece move kind.

Variants

Normal move.

Castling move.

Promotion move.

En passant move.

Trait Implementations

impl PartialEq for Kind
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Kind
[src]

impl Clone for Kind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Kind
[src]

impl Hash for Kind
[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 FromUnchecked<u8> for Kind
[src]

[src]

Performs the unchecked conversion.

impl From<u8> for Kind
[src]

[src]

Performs the conversion.

impl FromUnchecked<u16> for Kind
[src]

[src]

Performs the unchecked conversion.

impl From<u16> for Kind
[src]

[src]

Performs the conversion.

impl FromUnchecked<u32> for Kind
[src]

[src]

Performs the unchecked conversion.

impl From<u32> for Kind
[src]

[src]

Performs the conversion.

impl FromUnchecked<u64> for Kind
[src]

[src]

Performs the unchecked conversion.

impl From<u64> for Kind
[src]

[src]

Performs the conversion.

impl FromUnchecked<usize> for Kind
[src]

[src]

Performs the unchecked conversion.

impl From<usize> for Kind
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Kind

impl Sync for Kind