[][src]Crate crunch

Structs

Item

An item to be packed by Packer.

PackedItems

Collection of items that were successfully packed by Packer.

Packer

A packer for items of type Item<T>.

Rect

A simple rectangle structure used for packing.

Enums

Rotation

Rotation setting for packing rectangles.

Functions

pack

Attempts to tightly pack the supplied items into into_rect.

pack_into_po2

Attempts to pack the supplied items into the smallest power of 2 container it possibly can, while not exceeding the provided max_size.