use opendrive::core::OpenDrive; const XML: &str = r#"
"#; fn main() { let opendrive = OpenDrive::from_xml_str(XML).unwrap(); dbg!(&opendrive.header); dbg!(&opendrive.additional_data); for _ in &opendrive.road {} for _ in &opendrive.junction {} for _ in &opendrive.junction_group {} for _ in &opendrive.controller {} println!("XML: {}", opendrive.to_xml_string().unwrap()); }