pub trait Couple<T, const N: usize, const O: usize> {
// Required method
fn couple(self, with: [T; O]) -> [T; { _ }];
}
Expand description
Couple two arrays together.
Required Methods§
sourcefn couple(self, with: [T; O]) -> [T; { _ }]
fn couple(self, with: [T; O]) -> [T; { _ }]
Couple two arrays together. This could have been Join
, but the methods would require disambiguation.
let a = 1.join(2).couple([3, 4]);