Enum hex2d::Spacing [] [src]

pub enum Spacing {
    FlatTop(f32),
    PointyTop(f32),
}

Floating point tile size for pixel conversion functions

Variants

Hex-grid with an edge on top

Hex-grid with a corner on top

Trait Implementations

impl Copy for Spacing
[src]

impl Clone for Spacing
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

impl PartialOrd for Spacing
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Decodable for Spacing
[src]

[src]

Deserialize a value using a Decoder.