Expand description
Define the internal hash program representation used by HashX.
Re-exportsยง
use crate::Error;๐use crate::generator::Generator;๐use crate::register::RegisterFile;๐use crate::register::RegisterId;๐use fixed_capacity_vec::FixedCapacityVec;๐use rand_core::Rng;๐use std::fmt;๐use std::ops::BitXor;๐
Structsยง
- Program
- Generated
HashXprogram, 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ยง
- Instruction
Array ๐ - Type alias for a full-size array of
Instructions - Instruction
Vec ๐ - Type alias for a
FixedCapacityVecthat can buildInstructionArrays