packed_struct.rs icon indicating copy to clipboard operation
packed_struct.rs copied to clipboard

implemented the fmt::Binary trait on Integer

Open oaken-source opened this issue 2 years ago • 0 comments

The Integer struct could implement the binary trait to allow usage of the {:b} formatter.

The implementation is fairly trivial, and similar to the implementations of the Debug and Display traits.

oaken-source avatar Oct 03 '23 12:10 oaken-source