Macro frame_support::match_type
source · [−]macro_rules! match_type {
( pub type $n:ident: impl Contains<$t:ty> = { $phead:pat_param $( | $ptail:pat )* } ; ) => { ... };
}Expand description
Create a type which implements the Contains trait for a particular type with syntax similar
to matches!.