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

pub struct Castle(_);

A castling move.

Methods

impl Castle
[src]

[src]

Creates a new instance for the castle right.

[src]

Attempts to create a new castle move for the given squares.

[src]

Returns the kind for self.

[src]

Returns the castle right for self.

Methods from Deref<Target = Move>

Trait Implementations

impl From<Castle> for Move
[src]

[src]

Performs the conversion.

impl From<Castle> for u16
[src]

[src]

Performs the conversion.

impl FromUnchecked<Move> for Castle
[src]

[src]

Performs the unchecked conversion.

impl FromUnchecked<u16> for Castle
[src]

[src]

Performs the unchecked conversion.

impl Deref for Castle
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl AsRef<Move> for Castle
[src]

[src]

Performs the conversion.

impl PartialEq for Castle
[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 Castle
[src]

impl Clone for Castle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Castle
[src]

impl Hash for Castle
[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 Castle
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Right> for Castle
[src]

[src]

Performs the conversion.

impl From<Castle> for Matches
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Castle

impl Sync for Castle