1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! The module defines the [`Patterns`] enum. It is used by [`crate::giftwrap::GiftWrap`].
use std::fmt::*;

/// The `Patterns` enum represents various different Patterns that could be used by
/// [`crate::giftwrap::GiftWrap`]. Though it is used by the `GiftWrap`, the `Patterns` enum can be
/// used anywhere in Rust.
///
/// todo!() Make Patterns generic so that Patterns::Other(U) can be defined as needed.
#[derive(Debug, PartialEq)]
pub enum Patterns {
    Red,
    Blue,
    Green,
    Paisley,
    Polkadots,
    Sparkles,
    KraftPaper,
    NewsPaper,
    Cloth,
}

#[cfg(test)]
mod test {}