binius_field

Module underlier

source

Structs§

  • A type that represents a pair of elements of the same underlier type. We use it as an underlier for the ScaledPAckedField type.
  • Unsigned type with a size strictly less than 8 bits.

Traits§

  • Underlier value that can be split into a slice of smaller U values. This trait is unsafe because it allows to reinterpret the memory of a type as a slice of another type.
  • A trait that represents potentially lossy numeric cast. Is a drop-in replacement of as _ in a generic code.
  • A value that can be randomly generated
  • Primitive integer underlying a binary field or packed binary field implementation. Note that this type is not guaranteed to be POD, U1, U2 and U4 have some unused bits.
  • Underlier type that supports bit arithmetic.
  • A type that is transparently backed by an underlier.

Type Aliases§