Macro frame_support::ord_parameter_types
source ยท macro_rules! ord_parameter_types { ( $( #[ $attr:meta ] )* $vis:vis const $name:ident: $type:ty = $value:expr; $( $rest:tt )* ) => { ... }; () => { ... }; (IMPL $name:ident , $type:ty , $value:expr) => { ... }; }
Expand description
Macro for easily creating a new implementation of both the Get
and Contains
traits. Use
exactly as with parameter_types
, only the type must be Ord
.