Module prelude

Source
Expand description

Exported traits

Macros§

smallvec
Since we use SmallVec, it’s only polite to export it so you don’t have to have multiple copies. Creates a SmallVec containing the arguments.

Structs§

SmallVec
Since we use SmallVec, it’s only polite to export it so you don’t have to have multiple copies. A Vec-like container that can store a small number of elements inline.

Traits§

Algorithm2D
Algorithm2D support Implement these for handling conversion to/from 2D coordinates (they are separate, because you might want Dwarf Fortress style 3D!)
Algorithm3D
Algorithm3D support Implement these for handling conversion to/from 2D coordinates (they are separate, because you might want Dwarf Fortress style 3D!)
BaseMap
BaseMap support Implement this trait to support path-finding functions.