pub struct LayerInstance {Show 13 fields
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: String
§layer_type: String
§grid_width: usize
§grid_height: usize
§level_id: usize
§layer_def_uid: usize
§px_offset_x: isize
§px_offset_y: isize
§seed: usize
§int_grid: Vec<IntGridCoordinate>
§auto_tiles: Vec<AutoTileRule>
§grid_tiles: Vec<GridTile>
§entity_instances: Vec<EntityInstance>
Trait Implementations§
Source§impl Debug for LayerInstance
impl Debug for LayerInstance
Source§impl<'de> Deserialize<'de> for LayerInstance
impl<'de> Deserialize<'de> for LayerInstance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LayerInstance
impl RefUnwindSafe for LayerInstance
impl Send for LayerInstance
impl Sync for LayerInstance
impl Unpin for LayerInstance
impl UnwindSafe for LayerInstance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more