[][src]Trait mksvg::write::SvgWrite

pub trait SvgWrite {
    type Err;
    fn write(&mut self, s: &str) -> Result<(), Self::Err>;
fn inc_depth(&mut self, n: i8); }

the methods on SvgWrite, do not build any structure they simply write the output, so if you open something (g or svg) don't forget to close it.

Associated Types

type Err

Loading content...

Required methods

fn write(&mut self, s: &str) -> Result<(), Self::Err>

fn inc_depth(&mut self, n: i8)

Loading content...

Trait Implementations

impl<'_, E> SvgWrite for &'_ mut dyn SvgWrite<Err = E>[src]

type Err = E

Implementors

impl<'_, E> SvgWrite for &'_ mut dyn SvgWrite<Err = E>[src]

type Err = E

impl<'a, E> SvgWrite for TransWrap<'a, E>[src]

type Err = E

impl<W: FmtWrite> SvgWrite for SvgFmt<W>[src]

type Err = Error

impl<W: IOWrite> SvgWrite for SvgIO<W>[src]

type Err = Error

Loading content...