altrios-core 0.2.0

ALTRIOS Core model for train simulation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub struct A {
    pub a: i32,
    pub b: i32,
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_derive() {
        let a = A{a: 1, b: 2};
        let a2 = A{a: 1, b: 2};
    }
}