pub trait Table: Sized + Clone {
type Item: Clone;
// Required methods
fn width(&self) -> usize;
fn select<E: Engine, CS: ConstraintSystem<E>>(
&self,
cs: &mut CS,
bits: &[Boolean],
) -> Result<Self::Item, SynthesisError>;
}
Required Associated Types§
Required Methods§
fn width(&self) -> usize
fn select<E: Engine, CS: ConstraintSystem<E>>( &self, cs: &mut CS, bits: &[Boolean], ) -> Result<Self::Item, SynthesisError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.