Macro pattern_type

macro_rules! pattern_type {
    ($($arg:tt)*) => { ... };
}

Creates a pattern type.

type Positive = std::pat::pattern_type!(i32 is 1..);