[][src]Struct tmx::map::Map

pub struct Map {
    pub version: String,
    pub tiled_version: String,
    pub orientation: Orientation,
    pub render_order: RenderOrder,
    pub compression_level: Option<usize>,
    pub width: i32,
    pub height: i32,
    pub tile_width: i32,
    pub tile_height: i32,
    pub infinite: bool,
    pub background_color: Option<String>,
    pub next_layer_id: u32,
    pub next_object_id: u32,
    pub tilesets: Vec<Tileset>,
    pub layers: Vec<Layer>,
}

Fields

version: Stringtiled_version: Stringorientation: Orientationrender_order: RenderOrdercompression_level: Option<usize>width: i32height: i32tile_width: i32tile_height: i32infinite: boolbackground_color: Option<String>next_layer_id: u32next_object_id: u32tilesets: Vec<Tileset>layers: Vec<Layer>

Trait Implementations

impl Debug for Map[src]

impl<'de> Deserialize<'de> for Map[src]

Auto Trait Implementations

impl RefUnwindSafe for Map

impl Send for Map

impl Sync for Map

impl Unpin for Map

impl UnwindSafe for Map

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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 = Infallible

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.