Struct tiled::Tileset [] [src]

pub struct Tileset {
    pub first_gid: u32,
    pub name: String,
    pub tile_width: u32,
    pub tile_height: u32,
    pub spacing: u32,
    pub margin: u32,
    pub images: Vec<Image>,
    pub tiles: Vec<Tile>,
}

A tileset, usually the tilesheet image.

Fields

The GID of the first tile stored

The Tiled spec says that a tileset can have mutliple images so a Vec is used. Usually you will only use one.

Trait Implementations

impl Debug for Tileset
[src]

Formats the value using the given formatter.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more