pub struct TileMap {
pub name: String,
pub tileset: TileSetId,
pub cells: Vec<TileCell>,
}Expand description
Painted grid referencing a tileset. Later entries win; painting an existing cell overwrites it in place.
Fields§
§name: String§tileset: TileSetId§cells: Vec<TileCell>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TileMap
impl<'de> Deserialize<'de> for TileMap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 UnsafeUnpin 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