Trait NotDebug

Source
pub trait NotDebug {
    const IS_DEBUG: bool = false;
    const FN_FMT: FnFmtRaw = {ds::types::unimpl_fmt as for<'a, 'b> unsafe fn(*const u8, &'a mut std::fmt::Formatter<'b>) -> std::result::Result<(), std::fmt::Error>};
}
Expand description

A helper trait for TypeHelper to detect not Debug types.

See TypeHelper documentation for more details.

Provided Associated Constants§

Source

const IS_DEBUG: bool = false

Source

const FN_FMT: FnFmtRaw = {ds::types::unimpl_fmt as for<'a, 'b> unsafe fn(*const u8, &'a mut std::fmt::Formatter<'b>) -> std::result::Result<(), std::fmt::Error>}

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§