Struct map18xx::tile::Stop [] [src]

pub struct Stop {
    pub text_id: String,
    pub revenue_angle: i32,
    // some fields omitted
}

Stop on the tile

A stop is a position with a revenue number. The position field is an 3D position in hexagon-space.

Fields

Methods

impl Stop
[src]

[src]

The coordinate of the stop in hexagon-space.

Trait Implementations

impl Debug for Stop
[src]

[src]

Formats the value using the given formatter.

impl Clone for Stop
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more