pub trait Metrics<Op: ?Sized> {
    type Case: ?Sized;

    // Required method
    fn count(parameter: &Self::Case) -> Count;
}
Expand description

Trait for determining the number of constants, public input, private inputs, and constraints for an operation.

Required Associated Types§

Required Methods§

source

fn count(parameter: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.

Implementors§