Crate chj_util

Crate chj_util 

Source

Modules§

dt
Debug trace
myasstr
partialbacktrace
Wrapper around the backtrace crate to show only part of the stack frames (skip some at the beginning and end).
slice
time_guard
Tools for performance debugging.
u24
A 24-bit unsigned integer type that only takes up 24 bits of space (unlike u24 in the ux crate which takes up “as much space as the smallest integer type that can contain [it]” and hence 32 bits?)
warn
Printing statements to stderr for debugging purposes

Macros§

dt
nodt
nopp
notime
notime_guard
nowarn
nowarn_thread
nowarn_todo
pp
time
time_guard
warn
warn_thread
Requires a pub static DO_WARN_THREAD: AtomicBool = AtomicBool::new(false); in the scope, which can be changed via ...::DO_WARN_THREAD.store(true, std::sync::atomic::Ordering::SeqCst);.
warn_todo