forked from katzen-cafe/iowo
Very hacky, but this is enough to be finished with the graph IR for now.
12 lines
355 B
Rust
12 lines
355 B
Rust
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 {
|
|
Image(DynamicImage),
|
|
}
|