pub struct Count(pub Measurement<u64>, pub Measurement<u64>, pub Measurement<u64>, pub Measurement<u64>);
Expand description

A helper struct for tracking the number of constants, public inputs, private inputs, and constraints.

Tuple Fields

0: Measurement<u64>1: Measurement<u64>2: Measurement<u64>3: Measurement<u64>

Implementations

Returns a new Count whose constituent metrics are all Exact.

Returns a new Count whose constituent metrics are all Exact.

Returns a new Count whose constituent metrics are all inclusive UpperBound.

Returns true if all constituent metrics match.

Trait Implementations

Adds the Count to another Count by summing its constituent metrics.

The resulting type after applying the + operator.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Scales the Count by a u64.

The resulting type after applying the * operator.

Scales the Count by a u64.

The resulting type after applying the * operator.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.