Module algorithm_traits

Source
Expand description

bracket-algorithm-traits provides traits for use in the bracket-pathfinding and bracket-geometry

Macros§

smallvec
Creates a SmallVec containing the arguments.

Structs§

SmallVec
A Vec-like container that can store a small number of elements inline.

Traits§

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