Trait geo_svg::ToSvgStr

source ·
pub trait ToSvgStr {
    // Required methods
    fn to_svg_str(&self, style: &Style) -> String;
    fn viewbox(&self, style: &Style) -> ViewBox;
}

Required Methods§

source

fn to_svg_str(&self, style: &Style) -> String

source

fn viewbox(&self, style: &Style) -> ViewBox

Implementations on Foreign Types§

source§

impl<'a, T: ToSvgStr> ToSvgStr for &'a [T]

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: ToSvgStr> ToSvgStr for Vec<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for Coord<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for Geometry<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for GeometryCollection<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for Line<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for LineString<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for MultiLineString<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for MultiPoint<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for MultiPolygon<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for Point<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for Polygon<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for Rect<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

source§

impl<T: CoordNum> ToSvgStr for Triangle<T>

source§

fn to_svg_str(&self, style: &Style) -> String

source§

fn viewbox(&self, style: &Style) -> ViewBox

Implementors§

source§

impl<'a> ToSvgStr for Svg<'a>

source§

impl<S, C> ToSvgStr for Text<S, C>
where S: Display, C: CoordNum + Display,