use-stratum 0.1.0

Primitive stratum vocabulary for RustUse
Documentation
  • Coverage
  • 10.34%
    3 out of 29 items documented1 out of 15 items with examples
  • Size
  • Source code size: 11.33 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 878.78 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 7s 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-stratum

Small stratum and layer vocabulary primitives for RustUse.

Example

use use_stratum::{StratumKind, StratumName, StratumOrder, StratumThickness};

# fn main() -> Result<(), Box<dyn std::error::Error>> {
let name = StratumName::new("Brushy Basin")?;
let thickness = StratumThickness::new(12.5)?;

assert_eq!(name.as_str(), "Brushy Basin");
assert_eq!(StratumKind::Layer.to_string(), "layer");
assert_eq!(StratumOrder::new(3).position(), 3);
assert_eq!(thickness.meters(), 12.5);
# Ok(())
# }