plottery_runtime 0.19.0

What a Plottery project compiles against: param types, the PlotteryParams derive and the project's entry point. Plottery is a creative coding framework for generative vector graphics and pen plotting.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

use super::project_param::ProjectParam;

#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct ProjectParamStruct {
    pub fields: Vec<ProjectParam>,
}

impl ProjectParamStruct {
    pub fn new(fields: Vec<ProjectParam>) -> Self {
        Self { fields }
    }
}