Macros§
- newtype_
id - Macro to create a newtyped ID that implements Idx.
Structs§
- ColMatrix
- CsrMatrix
- Compressed Sparse Row matrix mapping row indices to variable-length data.
- Dense
IdMap - A dense mapping from ID to ID.
- Display
Hex - A display helper for formatting a slice of bytes as hex with different options using Rust’s builtin format language
- Index
Vec - A dense vector indexed by ID types.
- Read
Adapter - An adapter of ByteReader to any type that implements std::io::Read
Enums§
- CsrValidation
Error - Errors that can occur during CSR validation.
- Indexed
VecError - Error returned when too many items are added to an IndexedVec.
Traits§
- Idx
- A trait for u32-backed, 0-based IDs.
- Into
Bytes - Lookup
ByIdx - A trait for looking up values by ID.
- Matrix
- A generic trait for two-dimensional matrix-like data structures.
- ToElements
- ToHex
- This trait represents a value that can be converted to a string of hexadecimal digits which represent the raw byte encoding of that value.
Functions§
- bound_
into_ included_ u64 - Converts and parses a Bound into an included u64 value.
- bytes_
to_ packed_ u32_ elements - Converts bytes to field elements using u32 packing in little-endian format.
- flatten_
slice_ elements - Transmutes a slice of
narrays each of lengthN, into a slice ofN*nelements. - flatten_
vector_ elements - Transmutes a vector of
narrays each of lengthN, into a vector ofN*nelements. - group_
slice_ elements - Transmutes a slice of
nelements into a slice ofn/Nelements, each of which is an array ofNelements. - hash_
string_ to_ word - Hashes the provided string using the BLAKE3 hash function and converts the resulting digest into
a
Word. - packed_
u32_ elements_ to_ bytes - Converts u32-packed field elements back to bytes in little-endian format.
- range
- Returns a Range initialized with the specified
startand withendset tostart+len. - to_hex
- Construct a String containing the hexadecimal representation of
bytes - uninit_
vector ⚠ - Returns a vector of the specified length with un-initialized memory.