macro_rules! pattern_type {
($($arg:tt)*) => { ... };
}
pattern_type_macro #123646)
Creates a pattern type.
type Positive = std::pat::pattern_type!(i32 is 1..);
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/pat/macro.pattern_type.html