Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
acir_format::WitnessOrConstant< FF > Struct Template Reference

#include <witness_constant.hpp>

Public Member Functions

 MSGPACK_FIELDS (index, value, is_constant)
 

Static Public Member Functions

static WitnessOrConstant from_index (uint32_t index)
 

Public Attributes

uint32_t index
 
FF value
 
bool is_constant
 

Friends

bool operator== (WitnessOrConstant const &lhs, WitnessOrConstant const &rhs)=default
 

Detailed Description

template<typename FF>
struct acir_format::WitnessOrConstant< FF >

Definition at line 13 of file witness_constant.hpp.

Member Function Documentation

◆ from_index()

template<typename FF >
static WitnessOrConstant acir_format::WitnessOrConstant< FF >::from_index ( uint32_t  index)
inlinestatic

Definition at line 20 of file witness_constant.hpp.

◆ MSGPACK_FIELDS()

template<typename FF >
acir_format::WitnessOrConstant< FF >::MSGPACK_FIELDS ( index  ,
value  ,
is_constant   
)

Friends And Related Symbol Documentation

◆ operator==

template<typename FF >
bool operator== ( WitnessOrConstant< FF > const &  lhs,
WitnessOrConstant< FF > const &  rhs 
)
friend

Member Data Documentation

◆ index

template<typename FF >
uint32_t acir_format::WitnessOrConstant< FF >::index

Definition at line 15 of file witness_constant.hpp.

◆ is_constant

template<typename FF >
bool acir_format::WitnessOrConstant< FF >::is_constant

Definition at line 17 of file witness_constant.hpp.

◆ value

template<typename FF >
FF acir_format::WitnessOrConstant< FF >::value

Definition at line 16 of file witness_constant.hpp.


The documentation for this struct was generated from the following file: