pub trait Pair {
type First;
type Second;
// Required method
fn split(self) -> (Self::First, Self::Second);
}Expand description
Avoid having to restate the generic types on MapDeserializer. The
Iterator::Item contains enough information to figure out K and V.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".