use-organ 0.1.0

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

use-organ

Primitive biological organ vocabulary.

use-organ supports descriptive organ names, broad organ kinds, and simple organ-system reference labels for animals, plants, and other organisms where reasonable. It is not human-only, and it does not implement anatomy atlas behavior, medical diagnosis, or physiology modeling.

use use_organ::{OrganKind, OrganName, OrganSystemRef};

let name = OrganName::new("leaf").unwrap();
let kind: OrganKind = "leaf".parse().unwrap();
let system = OrganSystemRef::new("shoot system").unwrap();

assert_eq!(name.to_string(), "leaf");
assert_eq!(kind, OrganKind::Leaf);
assert_eq!(system.to_string(), "shoot system");