palette/
macros.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// From https://stackoverflow.com/questions/60187436/rust-macro-repetition-with-plus
macro_rules! strip_plus {
    (+ $($rest: tt)*) => {
        $($rest)*
    }
}

#[macro_use]
mod arithmetics;
#[macro_use]
mod casting;
#[macro_use]
mod mix;
#[macro_use]
mod lighten_saturate;
#[macro_use]
mod equality;
#[macro_use]
mod blend;
#[macro_use]
mod lazy_select;
#[macro_use]
mod simd;
#[macro_use]
mod clamp;
#[macro_use]
mod convert;
#[macro_use]
mod color_difference;
#[macro_use]
mod struct_of_arrays;
#[macro_use]
mod reference_component;
#[macro_use]
mod copy_clone;
#[macro_use]
mod hue;
#[macro_use]
mod random;
#[macro_use]
mod color_theory;