Skip to main content

step_down

Function step_down 

Source
pub fn step_down(
    mode: &RenditionMode,
    rungs: &[Rung],
    choice: Option<&str>,
    on_screen: Option<&str>,
) -> bool
Expand description

Reports whether automatic selection is stepping down from on_screen.

rungs is the ladder, most expensive first. A switch to a rung further down, in RenditionMode::Auto, is a step down. Such a switch does not overlap: on a saturated link the incumbent’s track would keep taking the bandwidth the replacement needs.