1 2 3 4 5 6 7 8 9 10 11 12 13
use super::{Connection, ModelInstanciation, TreatmentInstanciation};
use crate::descriptor::Treatment as TreatmentDescriptor;
use core::fmt::Debug;
use std::collections::HashMap;
use std::sync::Weak;
#[derive(Debug)]
pub struct Treatment {
pub descriptor: Weak<TreatmentDescriptor>,
pub model_instanciations: HashMap<String, ModelInstanciation>,
pub treatments: HashMap<String, TreatmentInstanciation>,
pub connections: Vec<Connection>,
}