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
13
14
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "fuzzing", derive(arbitrary::Arbitrary))]
pub enum SwitchPosition {
    Dynamic,
    Straight,
    Turn,
}

impl_from_str_as_str!(
    SwitchPosition,
    "dynamic" => Dynamic,
    "straight" => Straight,
    "turn" => Turn,
);