Crate fuel_types
source ·Expand description
Atomic types of the FuelVM.
Modules
- Word-aligned bytes serialization functions.
Macros
- Defines a memory layout for a type. The address starts at 0 and is incremented by the size of each field. The syntax is
field_name: field_type = field_size_in_bytes, ...
.
Structs
- FuelVM atomic array type.
- FuelVM atomic array type.
- FuelVM atomic numeric type.
- FuelVM atomic array type.
- FuelVM atomic array type.
- FuelVM atomic array type.
- FuelVM atomic array type.
- FuelVM atomic type.
- FuelVM atomic array type.
- A memory location combined with a type.
- A location in memory starting at
ADDR
and ending atADDR + SIZE
. This is a zero-sized type to encode addresses that are known at compile time. - FuelVM atomic array type.
- FuelVM atomic array type.
- FuelVM atomic array type.
Traits
- Trait that defines a memory layout.
- Trait that combines a memory location and a type.
Functions
- Formatting utility to truncate a vector of bytes to a hex string of max length
N
Type Definitions
- 6-bits immediate value type
- 12-bits immediate value type
- 18-bits immediate value type
- 24-bits immediate value type
- Register ID type
- Register value type