svg

Function svg 

Source
pub fn svg(bytes: impl Into<SvgBytes>) -> Svg
Expand description

Use svg() to render SVG in your app.

See the available methods in Svg.

fn app() -> impl IntoElement {
    svg(include_bytes!("../../../../logo.svg"))
}