Struct rust_rpg_toolkit::map::MapLayer [−][src]
pub struct MapLayer {
pub id: String,
pub kind: MapLayerKind,
pub collision: CollisionKind,
pub grid_size: UVec2,
pub tiles: Vec<Option<MapTile>>,
pub objects: Vec<MapObject>,
pub is_visible: bool,
pub properties: HashMap<String, MapProperty>,
}
Fields
id: String
kind: MapLayerKind
collision: CollisionKind
grid_size: UVec2
tiles: Vec<Option<MapTile>>
objects: Vec<MapObject>
is_visible: bool
properties: HashMap<String, MapProperty>
Trait Implementations
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 RefUnwindSafe for MapLayer
impl UnwindSafe for MapLayer
Blanket Implementations
Mutably borrows from an owned value. Read more