reda-spice 0.1.0

Spice simulate and parse library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod sim;
mod meas;

pub use sim::*;
pub use meas::*;

use super::ToSpice;

pub struct IncludeCommand(pub String);

impl ToSpice for IncludeCommand {
    fn to_spice(&self) -> String {
        format!(".include {}", self.0)
    }
}