Skip to main content

remaining_fraction

Function remaining_fraction 

Source
pub fn remaining_fraction(left: u32, total: u32) -> f32
Expand description

The fraction of the ring still filled, clamped to the ring.