use ;
/// Toggles the [`Visibility`] of all `Entity` with a component of type `T`
///
/// ### Example usage
///
/// Toggles On/Off a UI view by pressing F1
/// ```rust,ignore
/// app.add_systems(
/// Update,
/// toggle_visibility::<UiRoot>.run_if(input_just_pressed(KeyCode::F1)),
/// );
/// ```