Trait seec::circuit::builder::SubCircuitInput
source · pub trait SubCircuitInput {
type Input<'a>;
type Size: Clone;
type Protocol: Protocol;
type Idx: GateIdx;
// Required methods
fn with_input<F, R>(self, for_circuit: CircuitId, f: F) -> R
where for<'a> F: FnOnce(Self::Input<'a>) -> R;
fn size(&self) -> Self::Size;
fn flatten(self) -> Vec<Secret<Self::Protocol, Self::Idx>>;
}
Required Associated Types§
Required Methods§
fn with_input<F, R>(self, for_circuit: CircuitId, f: F) -> R
fn size(&self) -> Self::Size
fn flatten(self) -> Vec<Secret<Self::Protocol, Self::Idx>>
Object Safety§
This trait is not object safe.