Type Definition rectangle_pack::BoxSizeHeuristicFn[][src]

type BoxSizeHeuristicFn = dyn Fn(WidthHeightDepth) -> u128;

Incoming boxes are places into the smallest hole that will fit them.

“small” vs. “large” is based on the heuristic function.

A larger heuristic means that the box is larger.