Function out_dbg

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