pub fn from_xml_str(xml: &str) -> Result<RawCode>Expand description
Reads XML data from a &str and compiles it into RawCode
ยงExamples
extern crate codespawn;
let raw_code = codespawn::from_xml_str("<enum name=\"Foo\"><var name=\"EnumVal1\" type=\"int\" /></enum>").unwrap();