Skip to main content

out_dbg

Function out_dbg 

Source
pub fn out_dbg<T>(out: impl Output<T>) -> impl Output<T>
Expand description

Tool for helping to debug Output trait usage in debug mode (if out is not written to, the function will panic only in debug mode)

This function should optimise out to a no-op in release mode.