Skip to main content

clamp_level

Function clamp_level 

Source
pub fn clamp_level(model: &Model, level: ThinkingLevel) -> ThinkingLevel
Expand description

The nearest supported level: the requested one, else the next higher, else the next lower.