bagel 0.1.3

Compile-time evaluation and other tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
macro_rules! new {
    () => {
        Self::new()
    };
    ($ty:ty) => {
        <$ty>::new()
    };
    ($ty:ty, $init:expr) => {
        <$ty>::new($init)
    };
}