pub trait Concrete<T>: Sized {
// Required method
fn concrete(self) -> Result<T, Self>;
}
Expand description
Helps to covert Vec<T>
to [T]
.
Required Methods§
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.