Enum sirpent::state::grids::GridEnum [] [src]

pub enum GridEnum {
    Hexagon(HexagonGrid),
    Square(SquareGrid),
    Triangle(TriangleGrid),
}

Variants

Trait Implementations

impl PartialEq for GridEnum
[src]

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

This method tests for !=.

impl Clone for GridEnum
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GridEnum
[src]

Formats the value using the given formatter.

impl From<HexagonGrid> for GridEnum
[src]

Performs the conversion.

impl From<SquareGrid> for GridEnum
[src]

Performs the conversion.

impl From<TriangleGrid> for GridEnum
[src]

Performs the conversion.