Struct svg::File [] [src]

pub struct File {
    // some fields omitted
}

A file.

Methods

impl File
[src]

fn open<T: AsRef<Path>>(path: T) -> Result<File>

Open a file.

fn parse<'s>(&'s self) -> Parser<'s>

Return an iterator over the content of the file.