haloumi-core 0.5.6

Core types and traits of the Halo2 frontend for LLZK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Structs for handling lookups.

/// Lightweight representation of a lookup that is cheap to copy
#[derive(Debug, Copy, Clone)]
pub struct LookupData<'syn, E> {
    /// Name of the lookup.
    pub name: &'syn str,
    /// Expressions representing the arguments of the lookup.
    pub arguments: &'syn [E],
    /// Expressions representing the columns of the table.
    pub table: &'syn [E],
}