fn toggle_blending(blending: Blending) -> Blending {
  match blending {
    None => Some((Equation::Additive, Factor::One, Factor::One)),
    _ => None,
  }
}
// toggle between no blending and additive blending
toggle between no blending and additive blending
toggle between no blending and additive blending
fn toggle_blending(blending: Blending) -> Blending {
  match blending {
    None => Some((Equation::Additive, Factor::One, Factor::One)),
    _ => None,
  }
}
fn toggle_blending ( blending : Blending ) -> Blending { match blending { None => Some ( ( Equation :: Additive , Factor :: One , Factor :: One ) ) , _ => None , } }
toggle between no blending and additive blending
toggle between no blending and additive blending
blending
Blending