pub trait DeTuple {
type Output;
// Required method
fn detuple(self) -> Self::Output;
}Expand description
Utility that turns single-element tuple into that element and keeps multi-element tuples as they are
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".