pub trait WriteSvgMapped: WriteSvg + MapToCanvas {
// Provided method
fn write_svg_mapped(
&self,
writer: &mut SvgWriter,
attr: &SvgTagAttributes,
) -> Result<()> { ... }
}Expand description
Trait to write something into an SVG while mapping it to canvas coordinates.
Provided Methods§
Sourcefn write_svg_mapped(
&self,
writer: &mut SvgWriter,
attr: &SvgTagAttributes,
) -> Result<()>
fn write_svg_mapped( &self, writer: &mut SvgWriter, attr: &SvgTagAttributes, ) -> Result<()>
Map and write SVG tags.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.