Skip to main content

print

Function print 

Source
pub fn print<T, F>(map: &GridMap<T, F>) -> Option<String>
where T: Copy + PartialEq, F: MapFeature + Clone,
Expand description

Prints map in .map format: its look only if it isn’t the look of a map that names none. None if a tile’s terrain has no character in the legend. Parsing the text gives map back.