pub trait ToInputs {
// Required method
fn to_inputs(&self, inputs: &mut Inputs);
// Provided methods
fn to_inputs_owned(&self) -> Inputs { ... }
fn hash_with_param(&self, param: &LazyParam) -> Fp { ... }
fn checked_hash_with_param(
&self,
param: &LazyParam,
w: &mut Witness<Fp>,
) -> Fp { ... }
}Required Methods§
Provided Methods§
fn to_inputs_owned(&self) -> Inputs
fn hash_with_param(&self, param: &LazyParam) -> Fp
fn checked_hash_with_param(&self, param: &LazyParam, w: &mut Witness<Fp>) -> Fp
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".