[][src]Struct led_rs::LayerInstance

pub struct LayerInstance {
    pub identifer: String,
    pub layer_type: String,
    pub grid_width: usize,
    pub grid_height: usize,
    pub level_id: usize,
    pub layer_def_uid: usize,
    pub px_offset_x: isize,
    pub px_offset_y: isize,
    pub seed: usize,
    pub int_grid: Vec<IntGridCoordinate>,
    pub auto_tiles: Vec<AutoTileRule>,
    pub grid_tiles: Vec<GridTile>,
    pub entity_instances: Vec<EntityInstance>,
}

Fields

identifer: Stringlayer_type: Stringgrid_width: usizegrid_height: usizelevel_id: usizelayer_def_uid: usizepx_offset_x: isizepx_offset_y: isizeseed: usizeint_grid: Vec<IntGridCoordinate>auto_tiles: Vec<AutoTileRule>grid_tiles: Vec<GridTile>entity_instances: Vec<EntityInstance>

Trait Implementations

impl Debug for LayerInstance[src]

impl<'de> Deserialize<'de> for LayerInstance[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.