Skip to main content

toggle_expanded_value

Function toggle_expanded_value 

Source
pub fn toggle_expanded_value(values: &mut Vec<String>, value: &str)
Expand description

Adds a node’s value to the expanded set, or removes it when it is there.

§Arguments

  • &mut Vec<String> - The expanded values, mutated in place.
  • &str - The toggled node’s value.