Struct ct_tilemap::TileMap
source · 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§
source§impl PartialEq for TileMap
impl PartialEq for TileMap
impl StructuralPartialEq for TileMap
Auto Trait Implementations§
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