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
pub trait DeTuple {
type Output;
// Required method
fn detuple(self) -> Self::Output;
}
Utility that turns single-element tuple into that element and keeps multi-element tuples as they are