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:
parent
a8fd59b5f1
commit
54e86accc9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue