Enum tak::piece::Stone [] [src]

pub enum Stone {
    Flat,
    Standing,
    Capstone,
}

Variants

FlatStandingCapstone

Trait Implementations

impl Encodable for Stone
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for Stone
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Stone, __D::Error>

impl Eq for Stone
[src]

impl PartialEq for Stone
[src]

fn eq(&self, __arg_0: &Stone) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Stone
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for Stone
[src]

impl Clone for Stone
[src]

fn clone(&self) -> Stone

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Display for Stone
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl FromStr for Stone
[src]

type Err = ()

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more