dbg_hex

Crates.iodbg_hex
lib.rsdbg_hex
version0.2.0
sourcesrc
created_at2021-02-05 23:34:24.083586
updated_at2024-01-20 18:09:55.57882
descriptiondisplay dbg result in hexadecimal {:#x?} format
homepage
repositoryhttps://github.com/wcampbell0x2a/dbg_hex
max_upload_size
id351347
size6,237
wcampbell (wcampbell0x2a)

documentation

README

dbg_hex

github crates.io docs.rs build status

Display dbg result in hexadecimal {:#x?} format.

usage

Replace dbg!() with dbg_hex!()

example

use dbg_hex::dbg_hex;
dbg_hex!(0x16 + 0x16);

output

[src/lib.rs:38] 0x16 + 0x16 = 0x2c
Commit count: 8

cargo fmt