Function rectangle_pack::contains_smallest_box[][src]

pub fn contains_smallest_box(
    container1: [WidthHeightDepth; 3],
    container2: [WidthHeightDepth; 3],
    heuristic: &BoxSizeHeuristicFn
) -> Ordering

Select the container that has the smallest box.

If there is a tie on the smallest boxes, select whichever also has the second smallest box.