Crate bevy_svg[][src]

Load and disply simple SVG files in Bevy.

This crate provides a Bevy Plugin to easily load and display a simple SVG file. It currently only works for the most simple SVGs.

Usage

Simply add the crate in your Cargo.toml and add the plugin to your app

fn main() {
    App::build()
        .add_plugin(bevy_svg::prelude::SvgPlugin)
        .run();
}

Modules

prelude

Import this module as use bevy_svg::prelude::* to get convenient imports.

Traits

Convert

A locally defined std::convert::Into surrogate to overcome orphan rules.