/// Parses the contents of an SVD (XML) string
Parses the contents of an SVD (XML) string
Parses the contents of an SVD ( XML ) string
pub fn parse(xml: &str) -> Result<Device, SVDError> {
    let xml = trim_utf8_bom(xml);
    let tree = Element::parse(xml.as_bytes())?;
    Device::parse(&tree)
}
pub fn parse ( xml : & str ) -> Result < Device , SVDError > { let xml = trim_utf8_bom ( xml ) ; let tree = Element :: parse ( xml . as_bytes ( ) ) ? ; Device :: parse ( & tree ) }
Parses the contents of an SVD (XML) string
Parses the contents of an SVD ( XML ) string
xml
&str