use crate::color;
use wasm_bindgen::{prelude::*};
use color::{LAB};
pub type WeightFn = fn(&LAB) -> f32;
#[wasm_bindgen]
pub enum Mood {
Dominant,
}
fn dominant(_: &LAB) -> f32 {
1.0
}
pub fn resolve_mood(mood: &Mood) -> WeightFn {
match mood {
Mood::Dominant => dominant,
}
}