liblisa

Module value

Expand description

A Value is an integer or byte sequence in a CPU state or dataflow.

This module contains definitions for three versions of this struct:

Byte sequences in OwnedValue are backed by a Vec<u8>, while they are backed by a &[u8] and &mut [u8] in Value and MutValue, respectively.

Enums§

  • A value that stores mutable references to the underlying data.
  • A value that stores its byte data as a Vec<u8>.
  • A values that stores its byte data as a &[u8].
  • The type of a value. Can be a number (ValueType::Num) or a byte sequence (ValueType::Bytes(num_bytes))

Traits§

  • Trait that is implemented by any type that can be converted into a Value.
  • Helper trait that provides value_eq, which compares equality of collections whose elements implement AsValue.