tcod 0.15.0

The Rust bindings for the Doryen library (a.k.a. libtcod).
Documentation
1
2
3
4
5
6
7
8
9
10
11
macro_rules! native_enum_convert {
    ($From: ident, $To: ident) => {
        impl From<$From> for $To {
            fn from(other: $From) -> $To {
                unsafe {
                    ::std::mem::transmute::<$From, $To>(other)
                }
            }
        }
    };
}