Module code

Source
Expand description

This module contains functionality for working with codes and sets of codes.

Structs§

Code
A Turing Machine code, represented by a flipped bit in a u128. This is the most efficient format for use with Set since it allows for fast set inclusion checks.
Set
A struct representing a set of codes.

Enums§

Error
This error may be returned when attempting to construct an invalid code.
Order
Returned by Code::is_ascending_or_descending to indicate whether the code has an ascending or descending sequence.