pub struct MapCells {
pub size: usize,
pub cells: Vec<MapCell>,
pub trailer: [i16; 9],
}Expand description
The gameplay map (serializer version 4): size × size cells covering the centre of the terrain
(the terrain grid is twice as wide).
Original: FUN_1400a45d0.
Fields§
§size: usizeThe number of cells on each side.
cells: Vec<MapCell>The cells, row by row.
trailer: [i16; 9]The nine values that end the map block.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapCells
impl RefUnwindSafe for MapCells
impl Send for MapCells
impl Sync for MapCells
impl Unpin for MapCells
impl UnsafeUnpin for MapCells
impl UnwindSafe for MapCells
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