pub fn symbol(&self) -> char {
        match &self {
            Category::Locomotives => Category::LOCOMOTIVE_SYMBOL,
            Category::FreightCars => Category::FREIGHT_CAR_SYMBOL,
            Category::PassengerCars => Category::PASSENGER_CAR_SYMBOL,
            Category::Trains => Category::TRAIN_SYMBOL,
        }
    }
/// Returns a symbol (just a single char) to represent the current category.
Returns a symbol (just a single char) to represent the current category.
Returns a symbol ( just a single char ) to represent the current category .
pub fn symbol(&self) -> char {
        match &self {
            Category::Locomotives => Category::LOCOMOTIVE_SYMBOL,
            Category::FreightCars => Category::FREIGHT_CAR_SYMBOL,
            Category::PassengerCars => Category::PASSENGER_CAR_SYMBOL,
            Category::Trains => Category::TRAIN_SYMBOL,
        }
    }
pub fn symbol ( & self ) -> char { match & self { Category :: Locomotives => Category :: LOCOMOTIVE_SYMBOL , Category :: FreightCars => Category :: FREIGHT_CAR_SYMBOL , Category :: PassengerCars => Category :: PASSENGER_CAR_SYMBOL , Category :: Trains => Category :: TRAIN_SYMBOL , } }
Returns a symbol (just a single char) to represent the current category.
Returns a symbol ( just a single char ) to represent the current category .
&self