lyrical_meter/
line_length.rs

1crate::ix!();
2
3/// Enum representing the number of feet per line.
4#[derive(Default,ItemFeature,RandConstruct,Hash,Debug,Clone,Copy,Serialize,Deserialize,PartialEq,Eq)]
5pub enum LineLength {
6    #[default]
7    #[ai("Each line should have one foot (monometer).")]    Monometer,
8    #[ai("Each line should have two feet (dimeter).")]      Dimeter,
9    #[ai("Each line should have three feet (trimeter).")]   Trimeter,
10    #[ai("Each line should have four feet (tetrameter).")]  Tetrameter,
11    #[ai("Each line should have five feet (pentameter).")]  Pentameter,
12    #[ai("Each line should have six feet (hexameter).")]    Hexameter,
13    #[ai("Each line should have seven feet (heptameter).")] Heptameter,
14    #[ai("Each line should have eight feet (octameter).")]  Octameter,
15    #[ai("Each line should have nine feet (nonameter).")]   Nonameter,
16    #[ai("Each line should have ten feet (decameter).")]    Decameter,
17}