Struct rust_rpg_toolkit::json::tiled::TiledObject [−][src]
pub struct TiledObject {
pub id: u32,
pub name: String,
pub object_type: String,
pub x: f32,
pub y: f32,
pub height: f32,
pub width: f32,
pub visible: bool,
pub rotation: f32,
pub ellipse: Option<bool>,
pub polygon: Option<Vec<TiledPolyPoint>>,
pub properties: Option<Vec<TiledProperty>>,
}
Fields
id: u32
name: String
object_type: String
x: f32
y: f32
height: f32
width: f32
visible: bool
rotation: f32
ellipse: Option<bool>
polygon: Option<Vec<TiledPolyPoint>>
properties: Option<Vec<TiledProperty>>
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 TiledObject
impl Send for TiledObject
impl Sync for TiledObject
impl Unpin for TiledObject
impl UnwindSafe for TiledObject
Blanket Implementations
Mutably borrows from an owned value. Read more