Skip to main content

with_mul_pub

Function with_mul_pub 

Source
pub fn with_mul_pub(c: &Costs, m: Multiplier) -> Costs
Expand description

The cost table c rebuilt for multiplier m. Returns None for Multiplier::Lean150 when c.lean_mul is None, so callers can skip that option. The cost table for multiplier m, or c itself when m is not offered (for callers outside this module).