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 Debug for Layer
[src]
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 Clone for Layer
[src]
fn clone(&self) -> Layer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more