Struct rust_rpg_toolkit::map::MapObject [−][src]
pub struct MapObject {
pub name: String,
pub position: Vec2,
pub size: Option<Vec2>,
pub properties: HashMap<String, MapProperty>,
}
Fields
name: String
position: Vec2
size: Option<Vec2>
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 MapObject
impl UnwindSafe for MapObject
Blanket Implementations
Mutably borrows from an owned value. Read more