iowo/crates/eval/src/value/mod.rs

13 lines
355 B
Rust
Raw Normal View History

2024-01-01 07:30:04 +01:00
use image::DynamicImage;
/// Any runtime value that an instruction can input or output.
///
/// The name is taken from [Godot's `Variant` type],
/// which is very similar to this one.
///
/// [Godot's `Variant` type]: https://docs.godotengine.org/en/stable/classes/class_variant.html
#[derive(Clone, Debug)]
pub enum Variant {
2024-01-01 07:30:04 +01:00
Image(DynamicImage),
}