Function rainbow_shared::map_all[][src]

pub fn map_all<T: Copy, U>(color: [T; 4], f: impl Fn(T) -> U) -> [U; 4]