mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +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),
|
StringTables(StringTablePacket),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(BitRead, TryFromPrimitive, Debug)]
|
#[derive(BitRead, TryFromPrimitive, Debug, Clone, Copy)]
|
||||||
#[discriminant_bits = 8]
|
#[discriminant_bits = 8]
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
pub enum PacketType {
|
pub enum PacketType {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue