cosmic::cosmic_theme::palette

Trait NextArray

source
pub unsafe trait NextArray {
    type Next: ArrayExt;
}
Expand description

Temporary helper trait for getting an array type of size N + 1.

§Safety

  • Next must have the same item type as Self.
  • Next must be one item longer than Self.

Required Associated Types§

source

type Next: ArrayExt

An array of size N + 1.

Implementations on Foreign Types§

source§

impl<T> NextArray for [T; 0]

source§

impl<T> NextArray for [T; 1]

source§

impl<T> NextArray for [T; 2]

source§

impl<T> NextArray for [T; 3]

source§

impl<T> NextArray for [T; 4]

source§

impl<T> NextArray for [T; 5]

source§

impl<T> NextArray for [T; 6]

source§

impl<T> NextArray for [T; 7]

source§

impl<T> NextArray for [T; 8]

source§

impl<T> NextArray for [T; 9]

source§

impl<T> NextArray for [T; 10]

source§

impl<T> NextArray for [T; 11]

source§

impl<T> NextArray for [T; 12]

source§

impl<T> NextArray for [T; 13]

source§

impl<T> NextArray for [T; 14]

source§

impl<T> NextArray for [T; 15]

source§

impl<T> NextArray for [T; 16]

Implementors§