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
Required Associated Types§
Sourcetype First: GenericSequence<T>
type First: GenericSequence<T>
First part of the resulting split array
Sourcetype Second: GenericSequence<T>
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.