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.
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.
Adds the Count
to another Count
by summing its constituent metrics.
The resulting type after applying the +
operator.
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.
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
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
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.