pub struct JointLookup<SingleLookup, LookupTableID> {
pub table_id: LookupTableID,
pub entry: Vec<SingleLookup>,
}
Expand description
A spec for checking that the given vector belongs to a vector-valued lookup table.
Fields§
§table_id: LookupTableID
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<SingleLookup>
Implementations§
source§impl<F: Copy> JointLookup<SingleLookup<F>, LookupTableID>
impl<F: Copy> JointLookup<SingleLookup<F>, LookupTableID>
Trait Implementations§
source§impl<SingleLookup: Clone, LookupTableID: Clone> Clone for JointLookup<SingleLookup, LookupTableID>
impl<SingleLookup: Clone, LookupTableID: Clone> Clone for JointLookup<SingleLookup, LookupTableID>
source§fn clone(&self) -> JointLookup<SingleLookup, LookupTableID>
fn clone(&self) -> JointLookup<SingleLookup, LookupTableID>
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<SingleLookup: Debug, LookupTableID: Debug> Debug for JointLookup<SingleLookup, LookupTableID>
impl<SingleLookup: Debug, LookupTableID: Debug> Debug for JointLookup<SingleLookup, LookupTableID>
source§impl<'de, SingleLookup, LookupTableID> Deserialize<'de> for JointLookup<SingleLookup, LookupTableID>where
SingleLookup: Deserialize<'de>,
LookupTableID: Deserialize<'de>,
impl<'de, SingleLookup, LookupTableID> Deserialize<'de> for JointLookup<SingleLookup, LookupTableID>where SingleLookup: Deserialize<'de>, LookupTableID: 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<'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<SingleLookup, LookupTableID> Serialize for JointLookup<SingleLookup, LookupTableID>where
SingleLookup: Serialize,
LookupTableID: Serialize,
impl<SingleLookup, LookupTableID> Serialize for JointLookup<SingleLookup, LookupTableID>where SingleLookup: Serialize, LookupTableID: Serialize,
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.
Auto Trait Implementations§
impl<SingleLookup, LookupTableID> RefUnwindSafe for JointLookup<SingleLookup, LookupTableID>where LookupTableID: RefUnwindSafe, SingleLookup: RefUnwindSafe,
impl<SingleLookup, LookupTableID> Send for JointLookup<SingleLookup, LookupTableID>where LookupTableID: Send, SingleLookup: Send,
impl<SingleLookup, LookupTableID> Sync for JointLookup<SingleLookup, LookupTableID>where LookupTableID: Sync, SingleLookup: Sync,
impl<SingleLookup, LookupTableID> Unpin for JointLookup<SingleLookup, LookupTableID>where LookupTableID: Unpin, SingleLookup: Unpin,
impl<SingleLookup, LookupTableID> UnwindSafe for JointLookup<SingleLookup, LookupTableID>where LookupTableID: UnwindSafe, SingleLookup: 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