pub unsafe trait Concat<T, M>: GenericSequence<T>where
M: ArrayLength<T>,{
type Rest: GenericSequence<T, Length = M>;
type Output: GenericSequence<T>;
// Required method
fn concat(self, rest: Self::Rest) -> Self::Output;
}
Expand description
Defines GenericSequence
s which can be joined together, forming a larger array.
Required Associated Types§
Sourcetype Rest: GenericSequence<T, Length = M>
type Rest: GenericSequence<T, Length = M>
Sequence to be concatenated with self
Sourcetype Output: GenericSequence<T>
type Output: GenericSequence<T>
Resulting sequence formed by the concatenation.
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.