organic/src/context/global_settings.rs

21 lines
402 B
Rust
Raw Normal View History

use crate::types::Object;
#[derive(Debug, Clone)]
pub struct GlobalSettings<'g, 's> {
pub radio_targets: Vec<&'g Vec<Object<'s>>>,
2023-09-02 20:46:17 -04:00
}
impl<'g, 's> GlobalSettings<'g, 's> {
2023-09-02 20:46:17 -04:00
pub fn new() -> Self {
GlobalSettings {
radio_targets: Vec::new(),
}
2023-09-02 20:46:17 -04:00
}
}
impl<'g, 's> Default for GlobalSettings<'g, 's> {
2023-09-02 20:46:17 -04:00
fn default() -> Self {
GlobalSettings::new()
}
}