Module miden_core::utils

source ·

Modules

Feature-based re-export of common collection components.
Feature-based re-export of common string components.

Structs

A pointer type that uniquely owns a heap allocation of type T.
Pseudo-random element generator for finite fields.
Implements ByteReader trait for a slice of bytes.

Enums

Defines errors which can occur during deserialization.
Defines errors which can occur when drawing values from a random coin.

Traits

Defines how primitive values are to be read from Self.
Defines how primitive values are to be written into Self.
Defines how to deserialize Self from bytes.
Defines how to serialize Self into bytes.

Functions

Transmutes a vector of n elements into a vector of n / N elements, each of which is an array of N elements.
Returns an array of N vectors initialized with the specified capacity.
Returns a Range initialized with the specified start and with end set to start + len.
Returns a vector of the specified length with un-initialized memory.