cast

Macro call_inspectors

macro_rules! call_inspectors {
    ([$($inspector:expr),+ $(,)?], |$id:ident $(,)?| $call:expr $(,)?) => { ... };
    (#[ret] [$($inspector:expr),+ $(,)?], |$id:ident $(,)?| $call:expr $(,)?) => { ... };
}
Expand description

Helper macro to call the same method on multiple inspectors without resorting to dynamic dispatch.