apache_echarts_wrapper/macros.rs
1#[macro_export]
2macro_rules! impl_default_marker {
3 ($type:ident for $($t:ty)*) => ($(
4 impl AxisKindMarker for $t {
5 type AxisType = $type;
6 type Serialization = DefaultSerialisation;
7 }
8 )*)
9}
10
11#[macro_export]
12macro_rules! impl_default_marker_self {
13 ($type:ident for $($t:ty)*) => ($(
14 impl AxisKindMarker for $t {
15 type AxisType = $type;
16 type Serialization = Self;
17 }
18 )*)
19}