mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 18:44:12 +02:00
write DataTablePacket
This commit is contained in:
parent
26e57ca59b
commit
67e1a3ef32
3 changed files with 140 additions and 10 deletions
|
|
@ -59,7 +59,7 @@ impl From<&str> for SendPropName {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct RawSendPropDefinition {
|
||||
pub prop_type: SendPropType,
|
||||
pub name: SendPropName,
|
||||
|
|
@ -73,11 +73,11 @@ pub struct RawSendPropDefinition {
|
|||
pub array_property: Option<Box<RawSendPropDefinition>>,
|
||||
}
|
||||
|
||||
// impl PartialEq for RawSendPropDefinition {
|
||||
// fn eq(&self, other: &Self) -> bool {
|
||||
// self.identifier() == other.identifier()
|
||||
// }
|
||||
// }
|
||||
impl PartialEq for RawSendPropDefinition {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.identifier() == other.identifier()
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for RawSendPropDefinition {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue