pub trait ResolvedDebug {
// Required method
fn show(&self, res: &Resolution<'_>) -> String;
}Expand description
Context-aware formatting for resolved metadata values.
Unlike std::fmt::Display, implementations can use a crate::resolution::Resolution
to resolve typed indices into human-readable names while formatting.
Required Methods§
Sourcefn show(&self, res: &Resolution<'_>) -> String
fn show(&self, res: &Resolution<'_>) -> String
Returns a display-oriented string using res as lookup context.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".