Trait halo2_middleware::expression::Variable
source · pub trait Variable: Clone + Copy + Debug + Display + Eq + PartialEq {
// Required methods
fn degree(&self) -> usize;
fn write_identifier<W: Write>(&self, writer: &mut W) -> Result<()>;
// Provided method
fn complexity(&self) -> usize { ... }
}
Required Methods§
Provided Methods§
sourcefn complexity(&self) -> usize
fn complexity(&self) -> usize
Approximate the computational complexity an expression would have if it was only this variable.
Object Safety§
This trait is not object safe.