Skip to main content

remaining_cap

Function remaining_cap 

Source
fn remaining_cap(cap: Option<f64>, spent: f64) -> Option<f64>
Expand description

What a callee may spend: what its caller has left of its cap, none when there is no cap.