pub trait Flatten {
type Output;
// Required method
fn flatten(self) -> Self::Output;
}Expand description
A trait which is used to implement flattenning of nested types, e.g.
converting Option<ElementRef<'_, Option<T>>> to Option<ElementRef<'_, T>>.