Struct tiled::Layer[][src]

pub struct Layer {
    pub name: String,
    pub opacity: f32,
    pub visible: bool,
    pub offset_x: f32,
    pub offset_y: f32,
    pub tiles: LayerData,
    pub properties: Properties,
    pub layer_index: u32,
}

Fields

name: Stringopacity: f32visible: booloffset_x: f32offset_y: f32tiles: LayerData

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: Propertieslayer_index: u32

Trait Implementations

impl Clone for Layer[src]

impl Debug for Layer[src]

impl PartialEq<Layer> for Layer[src]

impl StructuralPartialEq for Layer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.