Initial commit. Basic structure in place, need to implement logic.

This commit is contained in:
2020-02-06 10:01:43 +01:00
commit dc545e4063
9 changed files with 148 additions and 0 deletions

13
src/kernel/constant.rs Normal file
View File

@@ -0,0 +1,13 @@
use super::Kernel;
pub struct Constant {
var: f64,
}
impl Constant {
pub fn new(var: f64) -> Self {
Constant { var }
}
}
impl Kernel for Constant {}