Adds bulma.css

This commit is contained in:
2019-02-02 21:32:07 +01:00
parent a7cc92f903
commit 28afe8ece0
4 changed files with 40 additions and 31 deletions

View File

@@ -5,7 +5,7 @@ extern crate planner;
use self::cookbook::*;
use self::cookbook::models::Recipe;
use self::planner::solver::{Variables, Domain, Problem, Constraint};
use self::planner::solver::{Variables, Domain, Problem};
/// We want a mapping of the week meals (matin, midi, soir)
/// Breakfast => RecipeCategory::Breakfast
@@ -29,11 +29,7 @@ impl Into<String> for Meals {
}
}
}
/// associated with filters for Domain, depending on recipes RecipeCategory
enum RecipeCategory {
Breakfast,
MainCourse
}
/// It may also contains an initial value for each variable
fn generate_variables<V>(domain: &Domain<V>) -> Vec<(String, &Domain<V>, Option<&V>)> {
let mut vars = Vec::new();