vermilion_vm/object.rs
1//! A module that provides support for the types defined in Vermilion 2021 R2.
2
3/// The objects natively supported by the Vermilion virtual machine.
4#[derive(Clone, Copy)]
5pub enum VermilionObject {
6
7 /// A single bit encoded as 1 byte, used for logical comparisons.
8 Boolean(bool),
9
10 /// An unsigned 8-bit integer.
11 Byte(u8),
12
13 /// A 64-bit integer.
14 Integer(i64),
15
16 /// A 64-bit floating point number.
17 Float(f64),
18
19}