macro_rules! as_debug { ($capture:expr) => { ... }; }
Get a value from a type implementing std::fmt::Debug.
std::fmt::Debug