Crate shapesie

Crate shapesie 

Source

Structs§

Board
A type that represents a game board where puzzle pieces can be placed
Hand
A type that represents all Pieces to be placed
Piece
A type that represents all Placements of a given piece
Placement
A type that represents a particular orientation of a piece

Enums§

Error
A type that represents errors that could be encountered when solving a placement puzzle

Traits§

ToBoard
A trait for converting a value into a Board
ToHand
A trait for converting a value into a Hand
ToPlacement
A trait for converting a value into a Placement

Functions§

solve_puzzle
solve the puzzle by attempting to place all Pieces onto the board in a non-overlapping manner.