macro_rules! config_ty {
(bool) => { ... };
(uint8) => { ... };
(uint16) => { ... };
(uint32) => { ... };
(uint64) => { ... };
(int8) => { ... };
(int16) => { ... };
(int32) => { ... };
(int64) => { ... };
(string, max_size: $size:expr ) => { ... };
(vector, element: bool, max_count: $count:expr ) => { ... };
(vector, element: uint8, max_count: $count:expr ) => { ... };
(vector, element: uint16, max_count: $count:expr ) => { ... };
(vector, element: uint32, max_count: $count:expr ) => { ... };
(vector, element: uint64, max_count: $count:expr ) => { ... };
(vector, element: int8, max_count: $count:expr ) => { ... };
(vector, element: int16, max_count: $count:expr ) => { ... };
(vector, element: int32, max_count: $count:expr ) => { ... };
(vector, element: int64, max_count: $count:expr ) => { ... };
(vector, element: { string, max_size: $size:expr }, max_count: $count:expr ) => { ... };
}
Expand description
declare a [cm_rust::ConfigValueType
] from a shorthand similar to the CML syntax