pub struct TileMap {
pub layers: Vec<Layer>,
pub tilesets: Vec<TileSet>,
pub properties: HashMap<String, Property>,
}Expand description
A representation of a tilemap file.
Fields§
§layers: Vec<Layer>A collection of each layer of the tilemap. Any more than 65536 layers will not be saved.
tilesets: Vec<TileSet>A collection of the tilesets of the tilemap. Any more than 256 tilesets will not be saved.
properties: HashMap<String, Property>The dynamic properties of the tilemap. Any more than 65536 properties will not be saved.
Implementations§
Trait Implementations§
impl StructuralPartialEq for TileMap
Auto Trait Implementations§
impl Freeze for TileMap
impl RefUnwindSafe for TileMap
impl Send for TileMap
impl Sync for TileMap
impl Unpin for TileMap
impl UnwindSafe for TileMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more