Module convert

Source
Expand description

Utilities for converting variables to other kinds of variables.

Traitsยง

ToBitsGadget
Specifies constraints for conversion to a little-endian bit representation of self.
ToBytesGadget
Specifies constraints for conversion to a little-endian byte representation of self.
ToConstraintFieldGadget
Specifies how to convert a variable of type Self to variables of type FpVar<ConstraintF>