Skip to main content

won

Function won 

Source
const fn won(source: ParamSource, rung: usize) -> bool
Expand description

Whether the value at rung is the one that reached the resolution.

Exhaustive rather than a matches!, per the argument on ParamSource::is_deliberate_choice and because scripts/check_param_source_exhaustive.sh requires it: a new variant should force a decision here rather than default into “not ours”.