Initial commit
[Mitarbeiter/Tim-Zeitz/stud-rust-base.git] / src / types.rs
1 use std;
2
3 #[allow(dead_code)]
4 pub type NodeId = u32;
5 #[allow(dead_code)]
6 pub type EdgeId = u32;
7 #[allow(dead_code)]
8 pub type Weight = u32;
9 #[allow(dead_code)]
10 pub const INFINITY: Weight = std::u32::MAX / 2;