Skip to main content

Weight

Type Alias Weight 

Source
pub type Weight = f64;
Expand description

Weight of an object. The weight is stored as a fixed-size 64 bit integer, with 16 bits reserved for decimal precision, meaning the smallest value step is 1/2^16.