Struct tiled::Layer [] [src]

pub struct Layer {
    pub name: String,
    pub opacity: f32,
    pub visible: bool,
    pub tiles: Vec<Vec<u32>>,
    pub properties: Properties,
}

Fields

name: String opacity: f32 visible: bool tiles: Vec<Vec<u32>>

The tiles are arranged in rows. Each tile is a number which can be used to find which tileset it belongs to and can then be rendered.

properties: Properties

Trait Implementations

impl PartialEq for Layer
[src]

fn eq(&self, __arg_0: &Layer) -> bool

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

fn ne(&self, __arg_0: &Layer) -> bool

This method tests for !=.

impl Debug for Layer
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.