pub trait FromFlat<'a, BackingTy, Flattened> {
// Required method
fn from_flat(data: &'a [BackingTy]) -> Self;
}Expand description
Implement FromFlat<'a, Flattened> for Dest to get a Dest from a FlatVec<Flattened>
Required Methods§
fn from_flat(data: &'a [BackingTy]) -> Self
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.