1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/** * Holds all datatypes * the parser supports */ pub enum DataTypes { Ptr(usize), I8(i8), I16(i16), I32(i32), I64(i64), U8(u8), U16(u16), U32(u32), U64(u64), F32(f32), F64(f64), Str(String), Bytes(Vec<u8>), Bitfield(Vec<bool>), }