Initial commit. Basic structure in place, need to implement logic.
This commit is contained in:
13
src/kernel/constant.rs
Normal file
13
src/kernel/constant.rs
Normal 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 {}
|
||||
Reference in New Issue
Block a user