pub unsafe trait Split<T, K: ArrayLength>: GenericSequence<T> {
type First: GenericSequence<T>;
type Second: GenericSequence<T>;
// Required method
fn split(self) -> (Self::First, Self::Second);
}Expand description
Source
Splits an array at the given index, returning the separate parts of the array.
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.