bevy_vello 0.13.1

Render assets and scenes in Bevy with Vello
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::{self, Error};

#[derive(Debug, Error)]
#[non_exhaustive]
pub enum VectorLoaderError {
    #[error("Could not load file: {0}")]
    Io(#[from] std::io::Error),
    #[error("Could not parse utf-8: {0}")]
    FromStrUtf8(#[from] std::str::Utf8Error),
    #[cfg(feature = "svg")]
    #[error("Could not parse svg: {0}")]
    VelloSvg(#[from] vello_svg::Error),
    #[cfg(feature = "lottie")]
    #[error("Could not parse lottie: {0}")]
    Velato(#[from] velato::Error),
}