[][src]Struct tmx_reader::Object

pub struct Object {
    pub id: i64,
    pub name: Option<String>,
    pub object_type: Option<String>,
    pub x: f32,
    pub y: f32,
    pub width: f32,
    pub height: f32,
    pub rotation: f32,
    pub gid: Option<i64>,
    pub visible: bool,
    pub template: Option<String>,
    pub properties: Option<Vec<Property>>,
    pub flipped_horizontally: bool,
    pub flipped_vertically: bool,
    pub flipped_diagonally: bool,
}

Fields

id: i64name: Option<String>object_type: Option<String>x: f32y: f32width: f32height: f32rotation: f32gid: Option<i64>visible: booltemplate: Option<String>properties: Option<Vec<Property>>flipped_horizontally: boolflipped_vertically: boolflipped_diagonally: bool

Trait Implementations

impl Debug for Object[src]

Auto Trait Implementations

impl Send for Object

impl Sync for Object

impl Unpin for Object

impl UnwindSafe for Object

impl RefUnwindSafe for Object

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]