Enum hexe_core::mv::Matches [] [src]

pub enum Matches {
    Normal(Normal),
    Castle(Castle),
    Promotion(Promotion),
    EnPassant(EnPassant),
}

A match-able inner representation Move.

Variants

Normal move.

Castling move.

Promotion move.

En passant move.

Methods

impl Matches
[src]

[src]

Returns the inner Normal match.

[src]

Returns the inner Castle match.

[src]

Returns the inner Promotion match.

[src]

Returns the inner EnPassant match.

Trait Implementations

impl Copy for Matches
[src]

impl Clone for Matches
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Move> for Matches
[src]

[src]

Performs the conversion.

impl From<Normal> for Matches
[src]

[src]

Performs the conversion.

impl From<Castle> for Matches
[src]

[src]

Performs the conversion.

impl From<Promotion> for Matches
[src]

[src]

Performs the conversion.

impl From<EnPassant> for Matches
[src]

[src]

Performs the conversion.

impl Debug for Matches
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Matches

impl Sync for Matches