pub fn from_svg(svg: &str, pinout: Pinout) -> Result<Drawing> {
        let mut drawing = Drawing::new();
        drawing.add_svg(svg, pinout)?;
        Ok(drawing)
    }
/// Creates a drawing from the SVG string.
Creates a drawing from the SVG string.
Creates a drawing from the SVG string .
pub fn from_svg(svg: &str, pinout: Pinout) -> Result<Drawing> {
        let mut drawing = Drawing::new();
        drawing.add_svg(svg, pinout)?;
        Ok(drawing)
    }
pub fn from_svg ( svg : & str , pinout : Pinout ) -> Result < Drawing > { let mut drawing = Drawing :: new ( ) ; drawing . add_svg ( svg , pinout ) ? ; Ok ( drawing ) }
Creates a drawing from the SVG string.
Creates a drawing from the SVG string .
svg
&str
pinout
Pinout
svg
&str
pinout
Pinout