opendrive 0.1.0+1.7.0

OpenDRIVE parser and writer for Rust
Documentation
/// The known keywords for the road mark color information
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "fuzzing", derive(arbitrary::Arbitrary))]
pub enum RoadMarkColor {
    /// equivalent to "white"
    Standard,
    Blue,
    Green,
    Red,
    White,
    Yellow,
    Orange,
    Violet,
}

impl_from_str_as_str!(
    RoadMarkColor,
    "standard" => Standard,
    "blue" => Blue,
    "green" => Green,
    "red" => Red,
    "white" => White,
    "yellow" => Yellow,
    "orange" => Orange,
    "violet" => Violet,
);