[][src]Module core_cbc_casper::util::weight

Enums

Weight

Generic implementation of weight with any units that implement std::ops::Add and std::ops::Sub. This type wraps the unit in a system with an infinity point and a "not a number" point used by the algorithms.

Traits

WeightUnit

Weight units for the validators.

Zero

Defines how to compare the trait type to zero.