You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-rust-examples/fern_sim/src/plant_structures/stems.rs

15 lines
385 B
Rust

//! Stems hold the weight of the plant and are largely responsible for its
//! shape. Parameters on `Stem` (not `Leaf`) are responsible for pinnation,
//! the feathery leaf structure that's the most immediately recognizable
//! property of ferns.
// in plant_structures/stems.rs
pub mod xylem;
pub mod phloem;
pub struct Stem {
pub furled: bool
}
pub type StemSet = Vec<Stem>;