Function out_dbg

Source
pub fn out_dbg<T, O>(out: O) -> OutputDebug<T, O>
where O: 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)

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