[][src]Struct tmx_reader::Map

pub struct Map {
    pub version: String,
    pub orientation: Orientation,
    pub renderorder: Renderorder,
    pub width: i32,
    pub height: i32,
    pub tilewidth: i32,
    pub tileheight: i32,
    pub backgroundcolor: String,
    pub nextobjectid: i32,
    pub staggeraxis: StaggerAxis,
    pub staggerindex: StaggerIndex,
    pub tileset: Tileset,
    pub objectgroups: Vec<Objectgroup>,
    pub properties: Option<Vec<Property>>,
}

Fields

version: Stringorientation: Orientationrenderorder: Renderorderwidth: i32height: i32tilewidth: i32tileheight: i32backgroundcolor: Stringnextobjectid: i32staggeraxis: StaggerAxisstaggerindex: StaggerIndextileset: Tilesetobjectgroups: Vec<Objectgroup>properties: Option<Vec<Property>>

Methods

impl Map[src]

pub fn new(xml: &str) -> Map[src]

Trait Implementations

impl Debug for Map[src]

Auto Trait Implementations

impl Send for Map

impl Sync for Map

impl Unpin for Map

impl UnwindSafe for Map

impl RefUnwindSafe for Map

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]