1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
mod amp; mod combinatorial; mod constraint; mod linear_synthesis; mod nls; #[macro_export] macro_rules! to_holo { ($self:expr) => { $self .foci .into_iter() .map(|(p, a)| Holo { pos: Some(p.into()), amp: Some(a.into()), }) .collect() }; }