mirror of
https://github.com/guilhermewerner/reflection
synced 2025-06-16 13:34:19 +00:00
Test generics and other things
This commit is contained in:
21
Source/Value.rs
Normal file
21
Source/Value.rs
Normal file
@ -0,0 +1,21 @@
|
||||
use crate::Object;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum Value {
|
||||
Bool(bool),
|
||||
Char(char),
|
||||
Int8(i8),
|
||||
Int16(i16),
|
||||
Int32(i32),
|
||||
Int64(i64),
|
||||
Int128(i128),
|
||||
UInt8(u8),
|
||||
UInt16(u16),
|
||||
UInt32(u32),
|
||||
UInt64(u64),
|
||||
UInt128(u128),
|
||||
Float32(f32),
|
||||
Float64(f64),
|
||||
String(String),
|
||||
Object(Object),
|
||||
}
|
Reference in New Issue
Block a user