diff options
| author | sam-anthony <samanthony6@protonmail.com> | 2022-01-26 06:37:29 -0330 |
|---|---|---|
| committer | sam-anthony <samanthony6@protonmail.com> | 2022-01-26 06:37:29 -0330 |
| commit | b45ddda0fda44ffb5e4ffbfe94b4d293b06d883e (patch) | |
| tree | b0167611d285da4302b575ae35f93ee4902eb3dd /src/pressure.rs | |
| parent | eb55242f08fcd4a9a3fdcc8de1110999614c8813 (diff) | |
| download | volute-b45ddda0fda44ffb5e4ffbfe94b4d293b06d883e.zip | |
basic input handling
Diffstat (limited to 'src/pressure.rs')
| -rw-r--r-- | src/pressure.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/pressure.rs b/src/pressure.rs deleted file mode 100644 index f746186..0000000 --- a/src/pressure.rs +++ /dev/null @@ -1,11 +0,0 @@ -pub struct Pressure(f64); // Base unit is pascals - -impl Pressure { - pub fn from_pascals(pascals: f64) -> Self { - Self(pascals) - } - - pub fn as_pascals(&self) -> f64 { - self.0 - } -} |