pub unsafe trait Split<T, K>: GenericSequence<T>where
K: ArrayLength<T>,{
type First: GenericSequence<T>;
type Second: GenericSequence<T>;
// Required method
fn split(self) -> (Self::First, Self::Second);
}
👎Deprecated: please upgrade to generic-array 1.x
Expand description
Defines a GenericSequence
that can be split into two parts at a given pivot index.
Required Associated Types§
Sourcetype First: GenericSequence<T>
👎Deprecated: please upgrade to generic-array 1.x
type First: GenericSequence<T>
First part of the resulting split array
Sourcetype Second: GenericSequence<T>
👎Deprecated: please upgrade to generic-array 1.x
type Second: GenericSequence<T>
Second part of the resulting split array
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.