Struct quicksilver::geom::Tile [] [src]

pub struct Tile<T: Clone> {
    pub value: Option<T>,
    pub empty: bool,
}

An individual tile

Fields

The value stored in this tile

If the tile is empty from a movement perspective

Methods

impl<T: Clone> Tile<T>
[src]

[src]

Create a solid version of a tile

[src]

Create a non-solid version of a tile

Trait Implementations

impl<T: Clone + Clone> Clone for Tile<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more