macro_rules! dist {
($($x:expr),*$(,)*) => { ... };
}
Expand description
Creates a DistributionValue
containing the given arguments.
dist!
allows DistributionValue
to be defined with the same syntax as array expressions.
ยงExample
let dist = relay_metrics::dist![1, 2];