pub trait SortedOutputExt {
type Sorted<'a>
where Self: 'a;
// Required method
fn sorted_debug(&self) -> Self::Sorted<'_>;
}
Expand description
An extension trait for easier production of SortedHashMapDebugOutput
values
This trait is generic because it may be extended in future versions of the crate, but for
now it only applies to HashMap
.
Required Associated Types§
Required Methods§
Sourcefn sorted_debug(&self) -> Self::Sorted<'_>
fn sorted_debug(&self) -> Self::Sorted<'_>
A method which borrows self
as the given target
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.