use-geologic-process 0.1.0

Primitive geologic process vocabulary for RustUse
Documentation
  • Coverage
  • 10.34%
    3 out of 29 items documented1 out of 12 items with examples
  • Size
  • Source code size: 11.42 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 726.9 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-geology
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-geologic-process

Small geologic process vocabulary primitives for RustUse.

Example

use use_geologic_process::{GeologicProcess, ProcessKind, ProcessRate};

# fn main() -> Result<(), Box<dyn std::error::Error>> {
let process = GeologicProcess::new("delta progradation")?;
let rate = ProcessRate::new(0.2, "mm/yr")?;

assert_eq!(process.as_str(), "delta progradation");
assert_eq!(ProcessKind::Deposition.to_string(), "deposition");
assert_eq!(rate.to_string(), "0.2 mm/yr");
# Ok(())
# }