Struct rust_rpg_toolkit::json::MapLayerDef [−][src]
pub struct MapLayerDef {
pub id: String,
pub collision: CollisionKind,
pub kind: MapLayerKind,
pub tiles: Option<Vec<u32>>,
pub objects: Option<Vec<MapObject>>,
pub is_visible: bool,
pub properties: HashMap<String, MapProperty>,
}
Fields
id: String
collision: CollisionKind
kind: MapLayerKind
tiles: Option<Vec<u32>>
objects: Option<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 MapLayerDef
impl Send for MapLayerDef
impl Sync for MapLayerDef
impl Unpin for MapLayerDef
impl UnwindSafe for MapLayerDef
Blanket Implementations
Mutably borrows from an owned value. Read more