Function codespawn::from_xml [] [src]

pub fn from_xml(filename: &str) -> Result<RawCode>

Reads XML data from file and compiles it into RawCode

Examples

extern crate codespawn;

let raw_code = codespawn::from_xml("examples/sample.xml").unwrap();