Skip to main content

Module program

Module program 

Source
Expand description

Define the internal hash program representation used by HashX.

Structsยง

Program
Generated HashX program, as a boxed array of instructions

Enumsยง

Instruction ๐Ÿ”’
Define the HashX virtual instruction set
Opcode ๐Ÿ”’
An instruction operation, without any of its arguments

Constantsยง

NUM_INSTRUCTIONS ๐Ÿ”’
Maximum number of instructions in the program

Type Aliasesยง

InstructionArray ๐Ÿ”’
Type alias for a full-size array of Instructions
InstructionVec ๐Ÿ”’
Type alias for a FixedCapacityVec that can build InstructionArrays