pub enum VermilionObject {
Boolean(bool),
Byte(u8),
Integer(i64),
Float(f64),
}
Expand description
The objects natively supported by the Vermilion virtual machine.
Variants§
Boolean(bool)
A single bit encoded as 1 byte, used for logical comparisons.
Byte(u8)
An unsigned 8-bit integer.
Integer(i64)
A 64-bit integer.
Float(f64)
A 64-bit floating point number.
Trait Implementations§
Source§impl Clone for VermilionObject
impl Clone for VermilionObject
Source§fn clone(&self) -> VermilionObject
fn clone(&self) -> VermilionObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for VermilionObject
Auto Trait Implementations§
impl Freeze for VermilionObject
impl RefUnwindSafe for VermilionObject
impl Send for VermilionObject
impl Sync for VermilionObject
impl Unpin for VermilionObject
impl UnwindSafe for VermilionObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more