Skip to main content

ToDebugString

Trait ToDebugString 

Source
pub trait ToDebugString: Debug {
    // Required method
    fn to_debug_string(&self) -> String;
}
Expand description

A trait that provides an ergonomic way to create the string specified by a Debug implementation.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§