Home
last modified time | relevance | path

Searched refs:SvgWriter (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/codespan-reporting/examples/
Dreadme_preview.rs83 let mut writer = HtmlEscapeWriter::new(SvgWriter::new(&mut buffer)); in main()
241 pub struct SvgWriter<W> { struct
246 impl<W> SvgWriter<W> { implementation
247 pub fn new(upstream: W) -> SvgWriter<W> { in new()
248 SvgWriter { in new()
255 impl<W: Write> Write for SvgWriter<W> { implementation
265 impl<W: Write> WriteColor for SvgWriter<W> { implementation
291 fn write_first<W: Write>(first: bool, writer: &mut SvgWriter<W>) -> io::Result<bool> { in set_color()
299 fn write_color<W: Write>(color: &Color, writer: &mut SvgWriter<W>) -> io::Result<()> { in set_color()