Skip to main content

MaybeDebug

Trait MaybeDebug 

Source
pub trait MaybeDebug { }
Expand description

A trait alias for Debug, but only when the debug feature is enabled.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> MaybeDebug for T

Available on non-crate feature debug only.