1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

make packetype copy

This commit is contained in:
Robin Appelman 2020-02-09 16:28:17 +01:00
commit 54e86accc9

View file

@ -32,7 +32,7 @@ pub enum Packet {
StringTables(StringTablePacket),
}
#[derive(BitRead, TryFromPrimitive, Debug)]
#[derive(BitRead, TryFromPrimitive, Debug, Clone, Copy)]
#[discriminant_bits = 8]
#[repr(u8)]
pub enum PacketType {