Struct tiled::Object [−][src]
pub struct Object { pub id: u32, pub gid: u32, pub name: String, pub obj_type: String, pub x: f32, pub y: f32, pub rotation: f32, pub visible: bool, pub shape: ObjectShape, pub properties: Properties, }
Fields
id: u32
gid: u32
name: String
obj_type: String
x: f32
y: f32
rotation: f32
visible: bool
shape: ObjectShape
properties: Properties
Trait Implementations
impl Debug for Object
[src]
impl Debug for Object
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Object
[src]
impl PartialEq for Object
fn eq(&self, other: &Object) -> bool
[src]
fn eq(&self, other: &Object) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Object) -> bool
[src]
fn ne(&self, other: &Object) -> bool
This method tests for !=
.
impl Clone for Object
[src]
impl Clone for Object