use-fault 0.1.0

Primitive fault vocabulary for RustUse
Documentation
  • Coverage
  • 11.11%
    3 out of 27 items documented1 out of 11 items with examples
  • Size
  • Source code size: 10.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 753.58 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-fault

Small geologic fault vocabulary primitives for RustUse.

Example

use use_fault::{FaultActivity, FaultKind, FaultMovement, FaultName};

# fn main() -> Result<(), Box<dyn std::error::Error>> {
let name = FaultName::new("Wasatch Fault")?;
let movement = FaultMovement::new("dip-slip")?;

assert_eq!(name.as_str(), "Wasatch Fault");
assert_eq!(FaultKind::Normal.to_string(), "normal");
assert_eq!(movement.as_str(), "dip-slip");
assert_eq!(FaultActivity::Active.to_string(), "active");
# Ok(())
# }