vcd_rust 0.0.1

A value change dump parser for the Rust programming language
Documentation
use crate::types::{timescale::TimeScale, variable::Variable};
use std::collections::HashMap;

#[derive(Clone)]
pub struct VCD {
    pub date: String,
    pub version: String,
    pub timescale: TimeScale,
    pub comments: Vec<String>,
    pub variables: HashMap<String, Variable>,
}

impl VCD {
    pub fn new() -> VCD {
        VCD {
            date: String::new(),
            version: String::new(),
            timescale: TimeScale::new(),
            comments: Vec::new(),
            variables: HashMap::new(),
        }
    }
}