pub trait AddLength<T, N>: ArrayLength<T>where
    N: ArrayLength<T>,{
    type Output: ArrayLength<T>;
}
Expand description

Helper trait for arr! macro

Required Associated Types§

type Output: ArrayLength<T>

Resulting length

Implementors§

§

impl<T, N1, N2> AddLength<T, N2> for N1where N1: ArrayLength<T> + Add<N2>, N2: ArrayLength<T>, <N1 as Add<N2>>::Output: ArrayLength<T>,

§

type Output = <N1 as Add<N2>>::Output