Skip to main content

when

Function when 

Source
pub fn when(condition: ExprIr) -> WhenBuilder
Expand description

Start a when(condition).then(…).otherwise(…) chain.