Struct kimchi::circuits::lookup::runtime_tables::RuntimeTableCfg
source · pub struct RuntimeTableCfg<F> {
pub id: i32,
pub first_column: Vec<F>,
}
Expand description
Use this type at setup time, to list all the runtime tables.
Note: care must be taken as table IDs can collide with IDs of other types of lookup tables.
Fields§
§id: i32
The table ID.
first_column: Vec<F>
The content of the first column of the runtime table.
Implementations§
Trait Implementations§
source§impl<F: Clone> Clone for RuntimeTableCfg<F>
impl<F: Clone> Clone for RuntimeTableCfg<F>
source§fn clone(&self) -> RuntimeTableCfg<F>
fn clone(&self) -> RuntimeTableCfg<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<F: Debug> Debug for RuntimeTableCfg<F>
impl<F: Debug> Debug for RuntimeTableCfg<F>
source§impl<'de, F> Deserialize<'de> for RuntimeTableCfg<F>where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for RuntimeTableCfg<F>where F: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<F, CamlF> From<CamlRuntimeTableCfg<CamlF>> for RuntimeTableCfg<F>where
F: PrimeField,
CamlF: Into<F>,
impl<F, CamlF> From<CamlRuntimeTableCfg<CamlF>> for RuntimeTableCfg<F>where F: PrimeField, CamlF: Into<F>,
source§fn from(caml_rt_cfg: CamlRuntimeTableCfg<CamlF>) -> Self
fn from(caml_rt_cfg: CamlRuntimeTableCfg<CamlF>) -> Self
Converts to this type from the input type.
source§impl<F, CamlF> From<RuntimeTableCfg<F>> for CamlRuntimeTableCfg<CamlF>where
F: PrimeField,
CamlF: From<F>,
impl<F, CamlF> From<RuntimeTableCfg<F>> for CamlRuntimeTableCfg<CamlF>where F: PrimeField, CamlF: From<F>,
source§fn from(rt_cfg: RuntimeTableCfg<F>) -> Self
fn from(rt_cfg: RuntimeTableCfg<F>) -> Self
Converts to this type from the input type.
source§impl<F> From<RuntimeTableCfg<F>> for RuntimeTableSpec
impl<F> From<RuntimeTableCfg<F>> for RuntimeTableSpec
source§fn from(rt_cfg: RuntimeTableCfg<F>) -> Self
fn from(rt_cfg: RuntimeTableCfg<F>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<F> RefUnwindSafe for RuntimeTableCfg<F>where F: RefUnwindSafe,
impl<F> Send for RuntimeTableCfg<F>where F: Send,
impl<F> Sync for RuntimeTableCfg<F>where F: Sync,
impl<F> Unpin for RuntimeTableCfg<F>where F: Unpin,
impl<F> UnwindSafe for RuntimeTableCfg<F>where F: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more