opendrive 0.1.0+1.7.0

OpenDRIVE parser and writer for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "fuzzing", derive(arbitrary::Arbitrary))]
pub enum CrgPurpose {
    Elevation,
    Friction,
}

impl_from_str_as_str!(
    CrgPurpose,
    "elevation" => Elevation,
    "friction" => Friction,
);