Skip to main content

Crate use_cell

Crate use_cell 

Source
Expand description

§use-biological-cell

Primitive cell vocabulary.

use-biological-cell models descriptive cell kinds, organelles, cell types, and cell structures. It does not model cell dynamics, simulate metabolism, model molecular biology pathways, or implement microscopy/image analysis.

use use_cell::{CellKind, CellOrganelle, CellStructure, CellType};

let cell_type = CellType::new("guard cell", CellKind::Plant).unwrap();
let structure = CellStructure::from(CellOrganelle::Chloroplast);

assert_eq!(cell_type.name(), "guard cell");
assert_eq!(structure.to_string(), "chloroplast");

Structs§

CellType
A descriptive cell type label with a broad cell kind.

Enums§

CellKind
Broad cell kind vocabulary.
CellKindParseError
Error returned when parsing a cell kind fails.
CellNameError
Error returned when cell labels are empty.
CellOrganelle
Primitive cell organelle vocabulary.
CellOrganelleParseError
Error returned when parsing a cell organelle fails.
CellStructure
A primitive cell structure reference.