Enum hexe_core::castle::Side [] [src]

#[repr(u8)]
pub enum Side { King, Queen, }

A side used to castle.

Variants

King castling side (O-O).

Queen castling side (O-O-O).

Trait Implementations

impl Not for Side
[src]

The resulting type after applying the ! operator.

[src]

Performs the unary ! operation.

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

impl Clone for Side
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Side
[src]

impl Debug for Side
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the unchecked conversion.

impl From<u8> for Side
[src]

[src]

Performs the conversion.

impl FromUnchecked<u16> for Side
[src]

[src]

Performs the unchecked conversion.

impl From<u16> for Side
[src]

[src]

Performs the conversion.

impl FromUnchecked<u32> for Side
[src]

[src]

Performs the unchecked conversion.

impl From<u32> for Side
[src]

[src]

Performs the conversion.

impl FromUnchecked<u64> for Side
[src]

[src]

Performs the unchecked conversion.

impl From<u64> for Side
[src]

[src]

Performs the conversion.

impl FromUnchecked<usize> for Side
[src]

[src]

Performs the unchecked conversion.

impl From<usize> for Side
[src]

[src]

Performs the conversion.

impl From<Side> for Role
[src]

[src]

Performs the conversion.

impl<T> Extract<[T; 2]> for Side
[src]

The output type.

[src]

Extracts a reference to the value for self within buf.

[src]

Extracts a mutable reference to the value for self within buf.

Auto Trait Implementations

impl Send for Side

impl Sync for Side