Expand description
This crate contains utility traits, functions, and macros used by other crates of Winterfell STARK prover and verifier.
Modules§
- Components needed for parallel iterators.
Macros§
- Applies a procedure to the provided slice either in a single thread or multiple threads based on whether
concurrent
feature is enabled. - Returns either a regular or a parallel iterator depending on whether
concurrent
feature is enabled. - Returns either a regular or a parallel mutable iterator depending on whether
concurrent
feature is enabled.
Structs§
- An adapter of ByteReader to any type that implements std::io::Read
- Implements ByteReader trait for a slice of bytes.
Enums§
- Defines errors which can occur during deserialization.
Traits§
- Defines a zero-copy representation of
Self
as a sequence of bytes. - 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
Self
can be read from a sequence of random bytes. - Defines how to serialize
Self
into bytes.
Functions§
- Transmutes a slice of
n
arrays each of lengthN
, into a slice ofN
*n
elements. - Transmutes a vector of
n
arrays each of lengthN
, into a vector ofN
*n
elements. - Transmutes a slice of
n
elements into a slice ofn
/N
elements, each of which is an array ofN
elements. - Transposes a slice of
n
elements into a matrix withN
columns andn
/N
rows. - Returns a vector of the specified length with un-initialized memory.