Struct tiled_parser::layer::Object
[−]
[src]
pub struct Object { pub id: u32, pub name: String, pub _type: String, pub gid: Option<u32>, pub ellipse: Option<bool>, pub polygon: Option<Vec<PolyPoint>>, pub properties: HashMap<String, String>, pub rotation: f32, pub visible: bool, pub height: f32, pub width: f32, pub x: f32, pub y: f32, }
Fields
id: u32
name: String
_type: String
gid: Option<u32>
ellipse: Option<bool>
polygon: Option<Vec<PolyPoint>>
properties: HashMap<String, String>
rotation: f32
visible: bool
height: f32
width: f32
x: f32
y: f32
Trait Implementations
impl Clone for Object
[src]
fn clone(&self) -> Object
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more