Macro risc0_zkp::layout_buffer
source · macro_rules! layout_buffer { ($ident:ident, $elem:ty) => { ... }; }
Expand description
Defines a buffer in a circuit that could have layout information. $ident should be the camelcase name of the buffer, and $elem sould be the type of element in the buffer, e.g. BabyBearElem. $elem must implement Debug, and must be comparable to $elem::ZERO.