You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the core crate is finished, it'd be nice to have a derive for a {:#?}-like Debug, possibly with type-based coloring? So something "stringish" would be green, "intish" would be yellow, "boolish" would be cyan, etc.
It should also be infallible, so printing something of type struct Foo { a: usize, b: &'static str, c: DoesNotImplDebug, d: bool } should print:
Foo {
a: 0,
b: "hello",
d: false,
// and one other field
}
Once the core crate is finished, it'd be nice to have a derive for a
{:#?}
-like Debug, possibly with type-based coloring? So something "stringish" would be green, "intish" would be yellow, "boolish" would be cyan, etc.It should also be infallible, so printing something of type
struct Foo { a: usize, b: &'static str, c: DoesNotImplDebug, d: bool }
should print:(for the "one" in "and one other field", https://crates.io/crates/english-numbers ?)
The text was updated successfully, but these errors were encountered: