pub type JointLookupValue<F> = JointLookup<F, F>;
Expand description
A concrete value or representation of a lookup.
Aliased Type§
pub struct JointLookupValue<F> {
pub table_id: F,
pub entry: Vec<F>,
}
Fields§
§table_id: F
The ID for the table associated with this lookup. Positive IDs are intended to be used for the fixed tables associated with individual gates, with negative IDs reserved for gates defined by the particular constraint system to avoid accidental collisions.
entry: Vec<F>
Implementations§
Trait Implementations§
Source§impl<'de, F, G: DeserializeAs<'de, F>> DeserializeAs<'de, JointLookup<F, F>> for JointLookupValue<G>
impl<'de, F, G: DeserializeAs<'de, F>> DeserializeAs<'de, JointLookup<F, F>> for JointLookupValue<G>
Source§fn deserialize_as<D>(deserializer: D) -> Result<JointLookupValue<F>, D::Error>where
D: Deserializer<'de>,
fn deserialize_as<D>(deserializer: D) -> Result<JointLookupValue<F>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer.
Source§impl<F, G> SerializeAs<JointLookup<F, F>> for JointLookupValue<G>where
G: SerializeAs<F>,
impl<F, G> SerializeAs<JointLookup<F, F>> for JointLookupValue<G>where
G: SerializeAs<F>,
Source§fn serialize_as<S>(
source: &JointLookupValue<F>,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,
fn serialize_as<S>(
source: &JointLookupValue<F>,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,
Serialize this value into the given Serde serializer.