macro_rules! match_type { ($( $x:tt )*) => { ... }; }
👎Deprecated: Use
match_types!
insteadExpand description
Create a type which implements the Contains
trait for a particular type with syntax similar
to matches!
.
macro_rules! match_type { ($( $x:tt )*) => { ... }; }
match_types!
insteadCreate a type which implements the Contains
trait for a particular type with syntax similar
to matches!
.