Dolda2000 GitWeb
/
kaka
/
rust-sdl-test.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
592bdbb3ff32e6f17bbef72a7ec85eb3cf9f9c7d
[kaka/rust-sdl-test.git]
/
src
/
common
/
mod.rs
1
mod geometry;
2
pub use common::geometry::{
3
Point,
4
Dimension,
5
Angle,
6
ToAngle,
7
Intersection,
8
supercover_line,
9
};
10
11
mod time;
12
pub use common::time::ScopeTimer;
13
14
#[macro_export]
15
macro_rules! hashmap {
16
($($k:expr => $v:expr),*) => {
17
{
18
let mut map = std::collections::HashMap::new();
19
$(map.insert($k, $v);)*
20
map
21
}
22
}
23
}